1
0
Fork 0

make dialog resizable with Ctrl-dragging

This commit is contained in:
mfranz 2009-01-11 00:02:45 +00:00
parent ffe72c79d3
commit e61d93e816
3 changed files with 15 additions and 2 deletions

View file

@ -3,6 +3,7 @@
<PropertyList> <PropertyList>
<name>overlay-select</name> <name>overlay-select</name>
<layout>vbox</layout> <layout>vbox</layout>
<resizable>true</resizable>
<x>-20</x> <x>-20</x>
<pref-width>200</pref-width> <pref-width>200</pref-width>
@ -35,6 +36,8 @@
<list> <list>
<halign>fill</halign> <halign>fill</halign>
<valign>fill</valign>
<stretch>true</stretch>
<pref-height>200</pref-height> <pref-height>200</pref-height>
<property>$result</property> <property>$result</property>
<binding> <binding>

View file

@ -14,6 +14,7 @@ command interface /autopilot/route-manager/input:
<PropertyList> <PropertyList>
<name>route-manager</name> <name>route-manager</name>
<layout>vbox</layout> <layout>vbox</layout>
<resizable>true</resizable>
<nasal> <nasal>
<open> <open>
@ -161,6 +162,8 @@ command interface /autopilot/route-manager/input:
<list> <list>
<name>list</name> <name>list</name>
<halign>fill</halign> <halign>fill</halign>
<valign>fill</valign>
<stretch>true</stretch>
<pref-height>150</pref-height> <pref-height>150</pref-height>
<property>/sim/gui/dialogs/route-manager/selection</property> <property>/sim/gui/dialogs/route-manager/selection</property>
<binding> <binding>
@ -180,6 +183,8 @@ command interface /autopilot/route-manager/input:
<input> <input>
<name>input</name> <name>input</name>
<halign>fill</halign>
<stretch>true</stretch>
<pref-width>220</pref-width> <pref-width>220</pref-width>
<property>/sim/gui/dialogs/route-manager/input</property> <property>/sim/gui/dialogs/route-manager/input</property>
</input> </input>

View file

@ -3,6 +3,7 @@
<PropertyList> <PropertyList>
<name>tutorial</name> <name>tutorial</name>
<layout>vbox</layout> <layout>vbox</layout>
<resizable>true</resizable>
<default-padding>4</default-padding> <default-padding>4</default-padding>
<text> <text>
@ -66,10 +67,14 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<valign>fill</valign>
<stretch>true</stretch>
<textbox> <textbox>
<name>textbox</name> <name>textbox</name>
<halign>fill</halign> <halign>fill</halign>
<valign>fill</valign>
<stretch>true</stretch>
<pref-width>600</pref-width> <pref-width>600</pref-width>
<pref-height>480</pref-height> <pref-height>480</pref-height>
<slider>20</slider> <slider>20</slider>
@ -85,6 +90,8 @@
<list> <list>
<name>list</name> <name>list</name>
<halign>fill</halign> <halign>fill</halign>
<valign>fill</valign>
<stretch>true</stretch>
<pref-width>170</pref-width> <pref-width>170</pref-width>
<pref-height>400</pref-height> <pref-height>400</pref-height>
<property>/sim/tutorials/current-tutorial</property> <property>/sim/tutorials/current-tutorial</property>
@ -98,8 +105,6 @@
</binding> </binding>
</list> </list>
<empty><stretch>true</stretch></empty>
<button> <button>
<legend>Cancel</legend> <legend>Cancel</legend>
<equal>true</equal> <equal>true</equal>