[gnome-music/wip/jfelder/gtk4-v3: 128/130] playertoolbar: Use libadwaita style for the buttons




commit 7ace8e5b53d7b9c12c839dce5193e15eec80cc33
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Feb 3 15:35:48 2022 +0100

    playertoolbar: Use libadwaita style for the buttons

 data/ui/PlayerToolbar.ui | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/data/ui/PlayerToolbar.ui b/data/ui/PlayerToolbar.ui
index 65dd9559e..6f11f74bd 100644
--- a/data/ui/PlayerToolbar.ui
+++ b/data/ui/PlayerToolbar.ui
@@ -68,7 +68,7 @@
             <property name="spacing">4</property>
             <child>
               <object class="GtkButton" id="_prev_button">
-                <property name="width_request">42</property>
+                <property name="width_request">52</property>
                 <property name="sensitive">False</property>
                 <property name="focusable">True</property>
                 <property name="receives_default">True</property>
@@ -76,21 +76,18 @@
                 <property name="tooltip_text" translatable="yes">Previous</property>
                 <signal name="clicked" handler="_on_prev_button_clicked" swapped="no"/>
                 <style>
-                  <class name="flat"/>
-                  <class name="semi-circular"/>
+                  <class name="circular"/>
                 </style>
               </object>
             </child>
             <child>
               <object class="GtkButton" id="_play_button">
-                <property name="width_request">80</property>
                 <property name="sensitive">False</property>
                 <property name="focusable">True</property>
                 <property name="receives_default">True</property>
                 <property name="tooltip_text" translatable="yes">Play</property>
                 <signal name="clicked" handler="_on_play_button_clicked" swapped="no"/>
                 <style>
-                  <class name="border-solid"/>
                   <class name="pill"/>
                 </style>
                 <child>
@@ -103,7 +100,7 @@
             </child>
             <child>
               <object class="GtkButton" id="_next_button">
-                <property name="width_request">42</property>
+                <property name="width_request">52</property>
                 <property name="sensitive">False</property>
                 <property name="focusable">True</property>
                 <property name="receives_default">True</property>
@@ -111,8 +108,7 @@
                 <property name="tooltip_text" translatable="yes">Next</property>
                 <signal name="clicked" handler="_on_next_button_clicked" swapped="no"/>
                 <style>
-                  <class name="flat"/>
-                  <class name="semi-circular"/>
+                  <class name="circular"/>
                 </style>
               </object>
             </child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]