[gnome-initial-setup/shell/4765: 111/362] Fix label alignments on account and network pages



commit e7228192a0444c48bbb389d04fd61fd5c7a1fa02
Author: Philip Chimento <philip endlessm com>
Date:   Thu Jul 31 18:16:49 2014 -0700

    Fix label alignments on account and network pages
    
    GtkLabels have an annoying extra xalign property which can cause halign
    to produce some unexpected results. Likewise yalign for valign. In this
    case, we want all the outermost labels to align to each other, so set
    xalign and yalign to 0.
    
    [endlessm/eos-shell#3248]

 .../pages/account/gis-account-page.ui              |    6 ++++++
 .../pages/network/gis-network-page.ui              |    6 ++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/gis-account-page.ui 
b/gnome-initial-setup/pages/account/gis-account-page.ui
index 9fb5c78..8f31176 100644
--- a/gnome-initial-setup/pages/account/gis-account-page.ui
+++ b/gnome-initial-setup/pages/account/gis-account-page.ui
@@ -49,6 +49,8 @@
                 <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="valign">start</property>
+                <property name="xalign">0</property>
+                <property name="yalign">0</property>
                 <property name="margin_bottom">0</property>
                 <property name="hexpand">True</property>
                 <property name="label" translatable="yes">Create a new account in just a few steps: type in 
your full name, your desired username and a password that you'll remember.</property>
@@ -70,6 +72,8 @@
                 <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="valign">start</property>
+                <property name="xalign">0</property>
+                <property name="yalign">0</property>
                 <property name="margin_bottom">12</property>
                 <property name="hexpand">True</property>
                 <property name="label" translatable="yes">You may want to write down your password. Make 
sure you pay attention to upper case letters. If the caps lock key is pressed, the symbol /!\ will appear at 
the right side of the space in which you're writing. You'll need to type in this password identically each 
time you access your account.</property>
@@ -351,6 +355,8 @@
                 <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="valign">start</property>
+                <property name="xalign">0</property>
+                <property name="yalign">0</property>
                 <property name="margin_bottom">0</property>
                 <property name="hexpand">True</property>
                 <property name="label" translatable="yes">To continue, please make sure you fill in all the 
blanks.</property>
diff --git a/gnome-initial-setup/pages/network/gis-network-page.ui 
b/gnome-initial-setup/pages/network/gis-network-page.ui
index 8d66e6d..6c11463 100644
--- a/gnome-initial-setup/pages/network/gis-network-page.ui
+++ b/gnome-initial-setup/pages/network/gis-network-page.ui
@@ -15,6 +15,8 @@
         <property name="hexpand">False</property>
         <property name="halign">start</property>
         <property name="valign">start</property>
+        <property name="xalign">0</property>
+        <property name="yalign">0</property>
         <property name="margin-bottom">8</property>
         <attributes>
           <attribute name="weight" value="bold"/>
@@ -36,6 +38,8 @@
         <property name="hexpand">False</property>
         <property name="halign">start</property>
         <property name="valign">start</property>
+        <property name="xalign">0</property>
+        <property name="yalign">0</property>
         <property name="margin-bottom">2</property>
         <attributes>
           <attribute name="scale" value="0.8"/>
@@ -56,6 +60,8 @@
         <property name="hexpand">False</property>
         <property name="halign">start</property>
         <property name="valign">start</property>
+        <property name="xalign">0</property>
+        <property name="yalign">0</property>
         <property name="margin-bottom">18</property>
         <attributes>
           <attribute name="scale" value="0.8"/>


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