Gradience/data/ui/explore_preset_row.blp
2022-09-16 08:09:46 +02:00

42 lines
858 B
Text

using Gtk 4.0;
using Adw 1;
template GradienceExplorePresetRow : Adw.ActionRow {
Box {
spacing: 6;
Label badge {
valign: center;
label: _("Unknown");
styles [
"tag",
"caption",
]
}
Button apply_button {
valign: center;
icon-name: "checkmark-small-symbolic";
tooltip-text: _("Download and apply");
clicked => on_apply_button_clicked();
styles [
"flat",
]
}
Button download_button {
valign: center;
icon-name: "download-symbolic";
tooltip-text: _("Download only");
clicked => on_download_button_clicked();
styles [
"flat",
]
}
}
}