[gnome-music/wip/mschraal/gtk4-v2: 20/56] HeaderBar: Fix packing (?)




commit 930a1bd8a00963002d2bddf40470601f1a3d2563
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 e1508d32c..9bf314db0 100644
--- a/data/ui/HeaderBar.ui
+++ b/data/ui/HeaderBar.ui
@@ -7,7 +7,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>
@@ -26,11 +26,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>
@@ -49,11 +46,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>
@@ -66,11 +60,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>
@@ -89,11 +80,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>
@@ -113,9 +101,6 @@
           </object>
         </child>
       </object>
-      <packing>
-        <property name="pack_type">start</property>
-      </packing>
     </child>
   </template>
   <object class="GtkSizeGroup" id="size1">


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