[gnome-control-center] user-accounts: avoid horizontal resizing when switching local/enterprise



commit ea048cce8a0d49e24ff97942acaba47dc89396bf
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jun 14 11:12:30 2012 -0400

    user-accounts: avoid horizontal resizing when switching local/enterprise
    
    Pack labels and controls in horizontal size groups, so we don't resize
    the dialog horizontally when switching between the local and enterprise
    pages.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678104

 panels/user-accounts/data/account-dialog.ui |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/panels/user-accounts/data/account-dialog.ui b/panels/user-accounts/data/account-dialog.ui
index b99f212..e60935d 100644
--- a/panels/user-accounts/data/account-dialog.ui
+++ b/panels/user-accounts/data/account-dialog.ui
@@ -581,4 +581,24 @@ type their domain password here.</property>
       <action-widget response="-5">button2</action-widget>
     </action-widgets>
   </object>
+  <object class="GtkSizeGroup" id="labels_sizegroup">
+    <widgets>
+      <widget name="label6"/>
+      <widget name="label5"/>
+      <widget name="label7"/>
+      <widget name="label4"/>
+      <widget name="label8"/>
+      <widget name="label9"/>
+    </widgets>
+  </object>
+  <object class="GtkSizeGroup" id="controls_sizegroup">
+    <widgets>
+      <widget name="local-username"/>
+      <widget name="local-name"/>
+      <widget name="local-account-type"/>
+      <widget name="box1"/>
+      <widget name="enterprise-login"/>
+      <widget name="enterprise-password"/>
+    </widgets>
+  </object>
 </interface>



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