[gnome-music/wip/jfelder/gtk4-v3: 34/167] HeaderBar: Fix packing (?)




commit 58b26cabecbe293be56dd9a0d1dcb84fa9c19957
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Apr 11 22:36:34 2021 +0200

    HeaderBar: Fix packing (?)

 data/ui/HeaderBar.ui | 25 +++++--------------------
 1 file changed, 5 insertions(+), 20 deletions(-)
---
diff --git a/data/ui/HeaderBar.ui b/data/ui/HeaderBar.ui
index 505c9175d..87de27138 100644
--- a/data/ui/HeaderBar.ui
+++ b/data/ui/HeaderBar.ui
@@ -9,7 +9,7 @@
         <style>
           <class name="titlebar"/>
         </style>
-        <child>
+        <child type="end">
           <object class="GtkMenuButton" id="_menu_button">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
@@ -28,11 +28,8 @@
               </object>
             </child>
           </object>
-          <packing>
-            <property name="pack_type">end</property>
-          </packing>
         </child>
-        <child>
+        <child type="end">
           <object class="GtkToggleButton" id="_select_button">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
@@ -51,11 +48,8 @@
               </object>
             </child>
           </object>
-          <packing>
-            <property name="pack_type">end</property>
-          </packing>
         </child>
-        <child>
+        <child type="end">
           <object class="GtkButton" id="_cancel_button">
             <property name="visible">False</property>
             <property name="can_focus">False</property>
@@ -68,11 +62,8 @@
               <class name="text-button"/>
             </style>
           </object>
-          <packing>
-            <property name="pack_type">end</property>
-          </packing>
         </child>
-        <child>
+        <child type="end">
           <object class="GtkToggleButton" id="_search_button">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
@@ -91,11 +82,8 @@
               </object>
             </child>
           </object>
-          <packing>
-            <property name="pack_type">end</property>
-          </packing>
         </child>
-        <child>
+        <child type="start">
           <object class="GtkButton" id="_back_button">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
@@ -115,9 +103,6 @@
               </object>
             </child>
           </object>
-          <packing>
-            <property name="pack_type">start</property>
-          </packing>
         </child>
       </object>
     </child>


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