1
0
Fork 0

make dialog resizable with Ctrl-dragging

This commit is contained in:
mfranz 2009-01-10 22:20:15 +00:00
parent b38cf98aa1
commit 29d6566de9
2 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,7 @@
<PropertyList> <PropertyList>
<name>airports</name> <name>airports</name>
<layout>vbox</layout> <layout>vbox</layout>
<resizable>true</resizable>
<text> <text>
<label>Select an Airport</label> <label>Select an Airport</label>
@ -44,6 +45,9 @@
<name>airport-list</name> <name>airport-list</name>
<pref-width>440</pref-width> <pref-width>440</pref-width>
<pref-height>360</pref-height> <pref-height>360</pref-height>
<halign>fill</halign>
<valign>fill</valign>
<stretch>true</stretch>
<property>/sim/gui/dialogs/airports/list</property> <property>/sim/gui/dialogs/airports/list</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
@ -67,6 +71,8 @@
<input> <input>
<name>input</name> <name>input</name>
<pref-width>280</pref-width> <pref-width>280</pref-width>
<halign>fill</halign>
<stretch>true</stretch>
<property>/sim/gui/dialogs/airports/list</property> <property>/sim/gui/dialogs/airports/list</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>

View file

@ -3,6 +3,7 @@
<PropertyList> <PropertyList>
<name>joystick-info</name> <name>joystick-info</name>
<layout>vbox</layout> <layout>vbox</layout>
<resizable>true</resizable>
<default-padding>3</default-padding> <default-padding>3</default-padding>
<group> <group>
@ -177,6 +178,8 @@
<textbox> <textbox>
<halign>fill</halign> <halign>fill</halign>
<valign>fill</valign>
<stretch>true</stretch>
<pref-width>640</pref-width> <pref-width>640</pref-width>
<pref-height>480</pref-height> <pref-height>480</pref-height>
<slider>20</slider> <slider>20</slider>