datetime: fix layout and spacing to match mockups

This commit is contained in:
William Jon McCann 2011-01-06 16:48:14 -05:00
parent 6b0cd1d667
commit f615a21faf

View file

@ -14,39 +14,6 @@
<object class="GtkVBox" id="hbox"> <object class="GtkVBox" id="hbox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child>
<object class="GtkHBox" id="hbox2">
<property name="visible">True</property>
<child>
<placeholder/>
</child>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">Network Time</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="network_time_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
</object>
<packing>
<property name="position">2</property>
<property name="expand">False</property>
</packing>
</child>
</object>
<packing>
<property name="position">0</property>
<property name="padding">6</property>
</packing>
</child>
<child> <child>
<object class="GtkHBox" id="vbox"> <object class="GtkHBox" id="vbox">
<property name="visible">True</property> <property name="visible">True</property>
@ -142,6 +109,39 @@
<object class="GtkVBox" id="vbox4"> <object class="GtkVBox" id="vbox4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child>
<object class="GtkHBox" id="hbox2">
<property name="visible">True</property>
<property name="spacing">12</property>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Network Time</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="network_time_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">2</property>
<property name="expand">False</property>
</packing>
</child>
</object>
<packing>
<property name="position">0</property>
<property name="padding">6</property>
<property name="expand">False</property>
</packing>
</child>
<child> <child>
<object class="GtkAlignment" id="alignment2"> <object class="GtkAlignment" id="alignment2">
<property name="visible">True</property> <property name="visible">True</property>
@ -335,7 +335,7 @@
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="padding">12</property> <property name="padding">12</property>
<property name="position">0</property> <property name="position">1</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -349,7 +349,7 @@
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="position">2</property> <property name="position">3</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -363,7 +363,7 @@
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="position">3</property> <property name="position">4</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -412,7 +412,7 @@
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="padding">12</property> <property name="padding">12</property>
<property name="position">1</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
</object> </object>