[master/f20] Fix the alignment of the Network Time switch (#1019301)

David Shea dshea at redhat.com
Tue Oct 15 14:34:19 UTC 2013


The default for valign and halign is "fill", which matches the rest of
the widgets in the top row of controls, which is what we want. Remove
the alignment overrides which align the NTP switch to the top of the
header box instead of the middle.
---
 pyanaconda/ui/gui/spokes/datetime_spoke.glade | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.glade b/pyanaconda/ui/gui/spokes/datetime_spoke.glade
index e5cb6b9..70043a1 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.glade
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.glade
@@ -200,8 +200,6 @@
                                       <object class="GtkSwitch" id="networkTimeSwitch">
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
-                                        <property name="halign">end</property>
-                                        <property name="valign">start</property>
                                         <signal name="notify::active" handler="on_ntp_switched" swapped="no"/>
                                       </object>
                                       <packing>
-- 
1.8.3.1



More information about the anaconda-patches mailing list