[gnome-control-center] user-accounts: Properly align account type buttons



commit 66cab8a23def4fe80bbeec15a819383ae132a47b
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Jul 12 14:20:00 2016 +0200

    user-accounts: Properly align account type buttons
    
    These two buttons should have the same size.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767065

 panels/user-accounts/data/user-accounts-dialog.ui |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/panels/user-accounts/data/user-accounts-dialog.ui 
b/panels/user-accounts/data/user-accounts-dialog.ui
index bb68c97..1cf1e54 100644
--- a/panels/user-accounts/data/user-accounts-dialog.ui
+++ b/panels/user-accounts/data/user-accounts-dialog.ui
@@ -138,7 +138,6 @@
                                   <object class="GtkRadioButton" id="account-type-standard">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                    <property name="hexpand">True</property>
                                     <property name="label" translatable="yes">Standard</property>
                                     <property name="draw_indicator">False</property>
                                   </object>
@@ -147,7 +146,6 @@
                                   <object class="GtkRadioButton" id="account-type-admin">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                    <property name="hexpand">True</property>
                                     <property name="label" translatable="yes">Administrator</property>
                                     <property name="draw_indicator">False</property>
                                     <property name="group">account-type-standard</property>
@@ -519,4 +517,11 @@
       <widget name="last-login-grid"/>
     </widgets>
   </object>
+  <object class="GtkSizeGroup">
+    <property name="mode">both</property>
+    <widgets>
+      <widget name="account-type-standard"/>
+      <widget name="account-type-admin"/>
+    </widgets>
+  </object>
 </interface>


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