[gnome-control-center] user-accounts: be sure widgets has same height



commit 49e3fe482d7cc1e0ecb45fca80d03e8a0bbbbfaa
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Sep 18 10:10:07 2014 +0200

    user-accounts: be sure widgets has same height
    
    Autologin widgets are different in height as compared with other widgets,
    which looks odd. Put all the widgets in the sizegroups, to have same
    height.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737343

 panels/user-accounts/data/user-accounts-dialog.ui |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/panels/user-accounts/data/user-accounts-dialog.ui 
b/panels/user-accounts/data/user-accounts-dialog.ui
index 23a4dc6..6f81fbb 100644
--- a/panels/user-accounts/data/user-accounts-dialog.ui
+++ b/panels/user-accounts/data/user-accounts-dialog.ui
@@ -264,11 +264,13 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkHBox" id="hbox30">
+                          <object class="GtkBox" id="autologin-box">
                             <property name="visible">True</property>
+                            <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
                             <child>
                               <object class="GtkSwitch" id="autologin-switch">
                                 <property name="visible">True</property>
+                                <property name="valign">GTK_ALIGN_CENTER</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -492,13 +494,27 @@
       <widget name="user-icon-nonbutton"/>
     </widgets>
   </object>
-  <object class="GtkSizeGroup" id="label-width-sizegroup">
+  <object class="GtkSizeGroup" id="label-sizegroup">
+    <property name="mode">both</property>
     <widgets>
       <widget name="account-fingerprint-label"/>
       <widget name="language-label"/>
       <widget name="password-label"/>
       <widget name="login-options-label"/>
       <widget name="account-type-label"/>
+      <widget name="autologin-label"/>
+      <widget name="last-login-label"/>
+    </widgets>
+  </object>
+  <object class="GtkSizeGroup" id="option-sizegroup">
+    <property name="mode">both</property>
+    <widgets>
+      <widget name="account-fingerprint-button"/>
+      <widget name="account-language-combo"/>
+      <widget name="account-password-button"/>
+      <widget name="account-type-combo"/>
+      <widget name="autologin-box"/>
+      <widget name="last-login-grid"/>
     </widgets>
   </object>
 </interface>


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