Requested by frafa via email:
This example demonstrates the problem:
#!/bin/sh
GTKDIALOG=gtkdialog
export MAIN_DIALOG='
<window title="Button Align" resizable="false">
<vbox>
<button width-request="300" height-request="50" xalign="0" yalign="0">
<height>32</height>
<input file icon="gtk-new"></input>
<label>button 1</label>
</button>
<button width-request="300" height-request="50" xalign="0" yalign="0">
<height>32</height>
<input file icon="gtk-open"></input>
<label>button 22222</label>
</button>
<button width-request="300" height-request="50" xalign="0" yalign="0">
<height>32</height>
<input file icon="gtk-save"></input>
<label>button 333333</label>
</button>
<button width-request="300" height-request="50" xalign="0" yalign="0">
<height>32</height>
<input file icon="gtk-properties"></input>
<label>button 444444444444</label>
</button>
</vbox>
</window>
'
$GTKDIALOG --center --program=MAIN_DIALOG
Because the label plus image are inside a h/vbox inside the button, there is
currently no control over the h/vbox.
This isn't a particularly difficult thing to do, it just needs some thought.
Original issue reported on code.google.com by thunor...@hotmail.com on 22 Aug 2011 at 12:00
Original issue reported on code.google.com by
thunor...@hotmail.com
on 22 Aug 2011 at 12:00