make dialog resizable with Ctrl-dragging
This commit is contained in:
parent
ffe72c79d3
commit
e61d93e816
3 changed files with 15 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
<PropertyList>
|
||||
<name>overlay-select</name>
|
||||
<layout>vbox</layout>
|
||||
<resizable>true</resizable>
|
||||
<x>-20</x>
|
||||
<pref-width>200</pref-width>
|
||||
|
||||
|
@ -35,6 +36,8 @@
|
|||
|
||||
<list>
|
||||
<halign>fill</halign>
|
||||
<valign>fill</valign>
|
||||
<stretch>true</stretch>
|
||||
<pref-height>200</pref-height>
|
||||
<property>$result</property>
|
||||
<binding>
|
||||
|
|
|
@ -14,6 +14,7 @@ command interface /autopilot/route-manager/input:
|
|||
<PropertyList>
|
||||
<name>route-manager</name>
|
||||
<layout>vbox</layout>
|
||||
<resizable>true</resizable>
|
||||
|
||||
<nasal>
|
||||
<open>
|
||||
|
@ -161,6 +162,8 @@ command interface /autopilot/route-manager/input:
|
|||
<list>
|
||||
<name>list</name>
|
||||
<halign>fill</halign>
|
||||
<valign>fill</valign>
|
||||
<stretch>true</stretch>
|
||||
<pref-height>150</pref-height>
|
||||
<property>/sim/gui/dialogs/route-manager/selection</property>
|
||||
<binding>
|
||||
|
@ -180,6 +183,8 @@ command interface /autopilot/route-manager/input:
|
|||
|
||||
<input>
|
||||
<name>input</name>
|
||||
<halign>fill</halign>
|
||||
<stretch>true</stretch>
|
||||
<pref-width>220</pref-width>
|
||||
<property>/sim/gui/dialogs/route-manager/input</property>
|
||||
</input>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<PropertyList>
|
||||
<name>tutorial</name>
|
||||
<layout>vbox</layout>
|
||||
<resizable>true</resizable>
|
||||
<default-padding>4</default-padding>
|
||||
|
||||
<text>
|
||||
|
@ -66,10 +67,14 @@
|
|||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<valign>fill</valign>
|
||||
<stretch>true</stretch>
|
||||
|
||||
<textbox>
|
||||
<name>textbox</name>
|
||||
<halign>fill</halign>
|
||||
<valign>fill</valign>
|
||||
<stretch>true</stretch>
|
||||
<pref-width>600</pref-width>
|
||||
<pref-height>480</pref-height>
|
||||
<slider>20</slider>
|
||||
|
@ -85,6 +90,8 @@
|
|||
<list>
|
||||
<name>list</name>
|
||||
<halign>fill</halign>
|
||||
<valign>fill</valign>
|
||||
<stretch>true</stretch>
|
||||
<pref-width>170</pref-width>
|
||||
<pref-height>400</pref-height>
|
||||
<property>/sim/tutorials/current-tutorial</property>
|
||||
|
@ -98,8 +105,6 @@
|
|||
</binding>
|
||||
</list>
|
||||
|
||||
<empty><stretch>true</stretch></empty>
|
||||
|
||||
<button>
|
||||
<legend>Cancel</legend>
|
||||
<equal>true</equal>
|
||||
|
|
Loading…
Reference in a new issue