time-selector: Put the spinbuttons in a box and force it to be LTR
#558 Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
6b389005e0
commit
301beb2534
@@ -3,33 +3,38 @@
|
||||
<template class="GcalTimeSelector" parent="GtkBox">
|
||||
<property name="spacing">6</property>
|
||||
|
||||
<!-- Hour -->
|
||||
<child>
|
||||
<object class="GtkSpinButton" id="hour_spin">
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="adjustment">hour_adjustment</property>
|
||||
<signal name="output" handler="on_output" object="GcalTimeSelector" swapped="no"/>
|
||||
<object class="GtkBox" id="time_box">
|
||||
<property name="spacing">6</property>
|
||||
|
||||
<!-- Hour -->
|
||||
<child>
|
||||
<object class="GtkSpinButton" id="hour_spin">
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="adjustment">hour_adjustment</property>
|
||||
<signal name="output" handler="on_output" object="GcalTimeSelector" swapped="no"/>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkLabel" id="label1">
|
||||
<property name="label" translatable="yes">:</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<!-- Minute -->
|
||||
<child>
|
||||
<object class="GtkSpinButton" id="minute_spin">
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="adjustment">minute_adjustment</property>
|
||||
<signal name="output" handler="on_output" object="GcalTimeSelector" swapped="no"/>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkLabel" id="label1">
|
||||
<property name="label" translatable="yes">:</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<!-- Minute -->
|
||||
<child>
|
||||
<object class="GtkSpinButton" id="minute_spin">
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="adjustment">minute_adjustment</property>
|
||||
<signal name="output" handler="on_output" object="GcalTimeSelector" swapped="no"/>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
|
||||
<!-- AM/PM -->
|
||||
<child>
|
||||
<object class="GtkComboBoxText" id="period_combo">
|
||||
|
||||
Reference in New Issue
Block a user