mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-10-31 03:03:59 +00:00
40 lines
723 B
Text
40 lines
723 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: "folder-download-symbolic";
|
|
tooltip-text: _("Download Only");
|
|
clicked => on_download_button_clicked();
|
|
|
|
styles [
|
|
"flat",
|
|
]
|
|
}
|
|
}
|
|
}
|