[gnome-control-center] background: Properly align labels with buttons



commit b182402fa9b1ce1fa9f5894aacd1f6f756811db9
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Aug 16 16:18:29 2017 -0300

    background: Properly align labels with buttons
    
    When the window resizes, we still want to keep these
    labels centralized against their parents.

 panels/background/background.ui |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/panels/background/background.ui b/panels/background/background.ui
index e902aa9..abf79ea 100644
--- a/panels/background/background.ui
+++ b/panels/background/background.ui
@@ -17,6 +17,7 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="halign">end</property>
+            <property name="valign">center</property>
             <property name="orientation">vertical</property>
             <child>
               <object class="GtkButton" id="background-set-button">
@@ -129,13 +130,13 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="orientation">vertical</property>
+            <property name="halign">start</property>
+            <property name="valign">center</property>
             <child>
               <object class="GtkButton" id="background-lock-set-button">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
-                <property name="halign">start</property>
-                <property name="valign">center</property>
                 <child>
                   <object class="GtkBox" id="box3">
                     <property name="visible">True</property>


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