Commit 6f455968 authored by Carit Zhu's avatar Carit Zhu 🎱

Add lables for each hour(H), minute(M) and second(S) combobox

parent a445ae43
...@@ -135,6 +135,23 @@ ...@@ -135,6 +135,23 @@
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkLabel" id="label3">
<property name="width_request">20</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">H</property>
<attributes>
<attribute name="style" value="normal"/>
<attribute name="weight" value="normal"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child> <child>
<object class="GtkComboBoxText" id="comboboxtext-hour"> <object class="GtkComboBoxText" id="comboboxtext-hour">
<property name="width_request">40</property> <property name="width_request">40</property>
...@@ -149,10 +166,8 @@ ...@@ -149,10 +166,8 @@
<property name="has_entry">True</property> <property name="has_entry">True</property>
<child internal-child="entry"> <child internal-child="entry">
<object class="GtkEntry" id="comboboxtext-entry-hour"> <object class="GtkEntry" id="comboboxtext-entry-hour">
<property name="width_request">40</property> <property name="can_focus">False</property>
<property name="can_focus">True</property> <property name="has_frame">False</property>
<property name="max_length">2</property>
<property name="input_purpose">number</property>
</object> </object>
</child> </child>
</object> </object>
...@@ -160,7 +175,7 @@ ...@@ -160,7 +175,7 @@
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">False</property> <property name="fill">False</property>
<property name="padding">2</property> <property name="padding">2</property>
<property name="position">1</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
</object> </object>
...@@ -187,6 +202,23 @@ ...@@ -187,6 +202,23 @@
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkLabel" id="label4">
<property name="width_request">20</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">M</property>
<attributes>
<attribute name="style" value="normal"/>
<attribute name="weight" value="normal"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child> <child>
<object class="GtkComboBoxText" id="comboboxtext-minute"> <object class="GtkComboBoxText" id="comboboxtext-minute">
<property name="width_request">40</property> <property name="width_request">40</property>
...@@ -201,6 +233,7 @@ ...@@ -201,6 +233,7 @@
<child internal-child="entry"> <child internal-child="entry">
<object class="GtkEntry" id="comboboxtext-entry-minute"> <object class="GtkEntry" id="comboboxtext-entry-minute">
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="has_frame">False</property>
<property name="input_purpose">number</property> <property name="input_purpose">number</property>
</object> </object>
</child> </child>
...@@ -209,7 +242,7 @@ ...@@ -209,7 +242,7 @@
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">False</property> <property name="fill">False</property>
<property name="padding">2</property> <property name="padding">2</property>
<property name="position">1</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
</object> </object>
...@@ -236,6 +269,23 @@ ...@@ -236,6 +269,23 @@
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkLabel" id="label5">
<property name="width_request">20</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">S</property>
<attributes>
<attribute name="style" value="normal"/>
<attribute name="weight" value="normal"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child> <child>
<object class="GtkComboBoxText" id="comboboxtext-second"> <object class="GtkComboBoxText" id="comboboxtext-second">
<property name="width_request">40</property> <property name="width_request">40</property>
...@@ -250,6 +300,7 @@ ...@@ -250,6 +300,7 @@
<child internal-child="entry"> <child internal-child="entry">
<object class="GtkEntry" id="comboboxtext-entry-second"> <object class="GtkEntry" id="comboboxtext-entry-second">
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="has_frame">False</property>
<property name="input_purpose">number</property> <property name="input_purpose">number</property>
</object> </object>
</child> </child>
...@@ -258,7 +309,7 @@ ...@@ -258,7 +309,7 @@
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">False</property> <property name="fill">False</property>
<property name="padding">2</property> <property name="padding">2</property>
<property name="position">1</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
</object> </object>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment