1
0
Fork 0
fgdata/gui/dialogs/airports.xml

63 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<name>airports</name>
<layout>vbox</layout>
<text>
<label>Select an Airport</label>
</text>
<!-- The airport list widget appears to have a bug with layout; it
fails to draw within the x/y/width/height it is given. -->
<airport-list>
<pref-width>440</pref-width>
<pref-height>360</pref-height>
<property>/sim/presets/airport-id</property>
</airport-list>
<group>
<layout>hbox</layout>
<default-padding>10</default-padding>
<empty><stretch>true</stretch></empty>
<button>
<legend>OK</legend>
<equal>true</equal>
<default>true</default>
<binding>
<command>property-assign</command>
<property>/sim/presets/longitude-deg</property>
<value type="double">-9999</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/latitude-deg</property>
<value type="double">-9999</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/altitude-ft</property>
<value type="double">-9999</value>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>presets-commit</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
<button>
<legend>Cancel</legend>
<equal>true</equal>
<binding>
<command>dialog-close</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
</group>
</PropertyList>