mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-11-06 20:41:41 +00:00
42 lines
874 B
Text
42 lines
874 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-large-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",
|
|
]
|
|
}
|
|
}
|
|
|
|
|
|
}
|