[gnome-control-center/wip/feborges/new-users-panel: 12/17] user-accounts: Properly align account type buttons



commit 09dac2f6ee362bb6e7b9fdbaddd1475880bd8676
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 59f402c..76b54fd 100644
--- a/panels/user-accounts/data/user-accounts-dialog.ui
+++ b/panels/user-accounts/data/user-accounts-dialog.ui
@@ -71,7 +71,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>
@@ -80,7 +79,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>
@@ -451,4 +449,11 @@
       <widget name="last-login-value-label"/>
     </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]