[sysprof/wip/gtk4-port] libsysprof-ui: fix positioning of instruments label



commit b8bfc5c51620109cc1b53305ac54f118fe25d228
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 1 16:32:23 2022 -0700

    libsysprof-ui: fix positioning of instruments label

 src/libsysprof-ui/sysprof-visualizers-frame.ui | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-visualizers-frame.ui b/src/libsysprof-ui/sysprof-visualizers-frame.ui
index 56633650..a3b93e07 100644
--- a/src/libsysprof-ui/sysprof-visualizers-frame.ui
+++ b/src/libsysprof-ui/sysprof-visualizers-frame.ui
@@ -11,23 +11,21 @@
                 <property name="width_request">125</property>
                 <property name="orientation">vertical</property>
                 <child>
-                  <object class="GtkBox">
+                  <object class="GtkCenterBox">
                     <property name="orientation">horizontal</property>
                     <property name="visible">true</property>
                     <property name="margin-top">3</property>
                     <property name="margin-bottom">3</property>
                     <property name="margin-start">7</property>
                     <property name="margin-end">7</property>
+                    <property name="hexpand">false</property>
                     <style>
                       <class name="left-column"/>
                     </style>
                     <child type="center">
                       <object class="GtkLabel">
-                        <property name="margin_start">6</property>
-                        <property name="margin_end">6</property>
-                        <property name="margin_top">3</property>
-                        <property name="margin_bottom">3</property>
                         <property name="label" translatable="yes">Instruments</property>
+                        <property name="hexpand">true</property>
                         <style>
                           <class name="dim-label"/>
                         </style>


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