Add features to the mini window
This commit is contained in:
		| @ -4,7 +4,6 @@ | ||||
|   <requires lib="gtk+" version="3.24"/> | ||||
|   <template class="TimerMiniWindow" parent="GtkWindow"> | ||||
|     <property name="can-focus">False</property> | ||||
|     <property name="resizable">False</property> | ||||
|     <property name="type-hint">utility</property> | ||||
|     <child> | ||||
|       <object class="GtkBox"> | ||||
| @ -12,18 +11,42 @@ | ||||
|         <property name="can-focus">False</property> | ||||
|         <property name="orientation">vertical</property> | ||||
|         <child> | ||||
|           <object class="GtkLabel" id="timerLabel"> | ||||
|           <object class="GtkButton" id="timerButton"> | ||||
|             <property name="visible">True</property> | ||||
|             <property name="can-focus">True</property> | ||||
|             <property name="receives-default">True</property> | ||||
|             <child> | ||||
|               <object class="GtkLabel" id="timerLabel"> | ||||
|                 <property name="visible">True</property> | ||||
|                 <property name="can-focus">False</property> | ||||
|                 <property name="label" translatable="yes">00:00:00</property> | ||||
|                 <attributes> | ||||
|                   <attribute name="scale" value="2"/> | ||||
|                 </attributes> | ||||
|               </object> | ||||
|             </child> | ||||
|           </object> | ||||
|           <packing> | ||||
|             <property name="expand">True</property> | ||||
|             <property name="fill">True</property> | ||||
|             <property name="position">0</property> | ||||
|           </packing> | ||||
|         </child> | ||||
|         <child> | ||||
|           <object class="GtkComboBoxText" id="nameBox"> | ||||
|             <property name="visible">True</property> | ||||
|             <property name="can-focus">False</property> | ||||
|             <property name="label" translatable="yes">00:00:00</property> | ||||
|             <attributes> | ||||
|               <attribute name="scale" value="2"/> | ||||
|             </attributes> | ||||
|             <property name="has-entry">True</property> | ||||
|             <child internal-child="entry"> | ||||
|               <object class="GtkEntry"> | ||||
|                 <property name="can-focus">False</property> | ||||
|               </object> | ||||
|             </child> | ||||
|           </object> | ||||
|           <packing> | ||||
|             <property name="expand">False</property> | ||||
|             <property name="fill">True</property> | ||||
|             <property name="position">0</property> | ||||
|             <property name="position">1</property> | ||||
|           </packing> | ||||
|         </child> | ||||
|         <child> | ||||
| @ -44,8 +67,8 @@ | ||||
|               </packing> | ||||
|             </child> | ||||
|             <child> | ||||
|               <object class="GtkButton" id="resetButton"> | ||||
|                 <property name="label" translatable="yes">Reset</property> | ||||
|               <object class="GtkButton" id="saveButton"> | ||||
|                 <property name="label" translatable="yes">Save</property> | ||||
|                 <property name="visible">True</property> | ||||
|                 <property name="can-focus">True</property> | ||||
|                 <property name="receives-default">True</property> | ||||
| @ -79,7 +102,7 @@ | ||||
|           <packing> | ||||
|             <property name="expand">False</property> | ||||
|             <property name="fill">True</property> | ||||
|             <property name="position">1</property> | ||||
|             <property name="position">2</property> | ||||
|           </packing> | ||||
|         </child> | ||||
|       </object> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user