mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-29 23:17:53 +00:00
feat: set activatable widget on action row
This commit is contained in:
parent
1dcd8c56ab
commit
ce2472dfdd
5 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,7 @@ using Adw 1;
|
|||
|
||||
template GradienceBuiltinPresetRow : Adw.ActionRow {
|
||||
subtitle: _("Made by @GradienceTeam");
|
||||
activatable-widget: apply_button;
|
||||
|
||||
[suffix]
|
||||
Button apply_button {
|
||||
|
|
|
@ -2,6 +2,8 @@ using Gtk 4.0;
|
|||
using Adw 1;
|
||||
|
||||
template GradienceExplorePresetRow : Adw.ActionRow {
|
||||
activatable-widget: apply_button;
|
||||
|
||||
Box {
|
||||
spacing: 6;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ template GradienceMonetThemingGroup : Adw.PreferencesGroup {
|
|||
|
||||
Adw.ActionRow file-chooser-row {
|
||||
title: _("Select an Image");
|
||||
activatable-widget: file-chooser-button;
|
||||
|
||||
[suffix]
|
||||
Button file-chooser-button {
|
||||
|
|
|
@ -2,6 +2,8 @@ using Gtk 4.0;
|
|||
using Adw 1;
|
||||
|
||||
template GradiencePluginRow : Adw.ActionRow {
|
||||
activatable-widget: switch;
|
||||
|
||||
[suffix]
|
||||
Switch switch {
|
||||
valign: center;
|
||||
|
|
|
@ -21,6 +21,7 @@ template GradienceShellThemingGroup : Adw.PreferencesGroup {
|
|||
|
||||
Adw.ActionRow custom-colors-row {
|
||||
title: _("Customize Shell Theme");
|
||||
activatable-widget: custom-colors-button;
|
||||
|
||||
[suffix]
|
||||
Button custom-colors-button {
|
||||
|
|
Loading…
Reference in a new issue