comboboxentry widget (GTKDIALOG feature) doesn't adjust width
I'll give an example .
<comboboxentry width-request="80">
The width request is ignored.
I tried the script on Easy OS and fatdog64 and the width request was respected.
Code: Select all
#!/bin/bash
for P in gtkdialog4 gtkdialog3 gtkdialog; do
GTKDIALOG=$(which $P) && break
done
VERSION=1.0
LENGTH=60
gtkdialog -v > /tmp/GTK
export TEST='
<window title="'Test' '"$VERSION"'" width-request="600">
<vbox>
<frame>
<text>
<label>"'"$(grep DISTRO_NAME /etc/DISTRO_SPECS)"'"</label>
</text>
<text>
<input file>'/tmp/GTK'</input>
</text>
</frame>
<hbox homogeneous="true">
<hbox>
<hbox><frame Length>
<comboboxentry width-request="80">
<variable>LENGTH</variable>
<default>'$LENGTH'</default>
<item>30</item>
<item>60</item>
<item>90</item>
<item>120</item>
<item>180</item>
<item>240</item>
</comboboxentry>
</frame>
</hbox>
<frame Source Device>
<hbox>
<comboboxentry activates_default="true">
<default>default</default>
<item>hw:0</item>
<item>hw:1</item>
<variable>DEV</variable>
</comboboxentry>
</hbox> </frame>
</hbox>
</hbox>
</vbox>
</window>
'
$GTKDIALOG -p TEST -c
exit 0
/code]
[attachment=0]bookwornpup64.png[/attachment]