[xdg-desktop-portal-gnome/gbsneto/post-restore-screencast-cleanups: 11/19] screencastwidget: Fix some widget alignments




commit 42af5e30d76faf24dd59ef3cb412127862dde01f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Nov 13 22:25:37 2021 -0300

    screencastwidget: Fix some widget alignments
    
    Center align the header labels, and align listboxes at
    the start.

 src/screencastwidget.ui | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/screencastwidget.ui b/src/screencastwidget.ui
index 94b6542..fe0854b 100644
--- a/src/screencastwidget.ui
+++ b/src/screencastwidget.ui
@@ -20,7 +20,6 @@
                 <property name="spacing">12</property>
                 <child>
                   <object class="GtkLabel" id="window_heading">
-                    <property name="xalign">0.0</property>
                     <attributes>
                       <attribute name="weight" value="bold"></attribute>
                     </attributes>
@@ -44,6 +43,7 @@
                       <object class="GtkListBox" id="window_list">
                         <property name="hexpand">1</property>
                         <property name="vexpand">1</property>
+                        <property name="valign">start</property>
                         <style>
                           <class name="content" />
                         </style>
@@ -69,7 +69,6 @@
                 <property name="spacing">12</property>
                 <child>
                   <object class="GtkLabel" id="monitor_heading">
-                    <property name="xalign">0.0</property>
                     <attributes>
                       <attribute name="weight" value="bold"></attribute>
                     </attributes>
@@ -86,6 +85,7 @@
                   <object class="GtkListBox" id="monitor_list">
                     <property name="hexpand">1</property>
                     <property name="vexpand">1</property>
+                    <property name="valign">start</property>
                     <style>
                       <class name="content" />
                     </style>
@@ -111,8 +111,6 @@
                 <!-- Virtual monitor selection label -->
                 <child>
                   <object class="GtkLabel" id="virtual_heading">
-                    <property name="label"/>
-                    <property name="xalign">0.0</property>
                     <attributes>
                       <attribute name="weight" value="bold"/>
                     </attributes>


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