Posted: Sat 09 Apr 2016, 20:27
I modified pclock for fatdog arm and I noticed that
the alarm button can be made smaller. It just requires an hbox within an hbox
the alarm button can be made smaller. It just requires an hbox within an hbox
Code: Select all
<vbox>
<edit editable="false" left_margin="10"><input file>'$WORKDIR'/alarm_txt</input></edit>
<vbox>
<hbox homogeneous="true"><hbox>
<button height-request="50">
<label>'$(gettext "Define Alarm")'</label>
<action>alarm</action>
<action>echo $ALARM > '$WORKDIR'/ALARM</action>
</button>
</hbox></hbox>
</vbox>
<hbox>
<text><label>'$(gettext "Audio")'</label></text>
<entry accept="file">
<variable>ALARM</variable>
<input>cat '$WORKDIR'/ALARM</input>
</entry>
<button>
<input file stock="gtk-open"></input>
<action type="fileselect">ALARM</action>
</button>
</hbox>
</vbox>