417d884151
Although this doesn't work anywhere but on my machine ... OK/Cancel is completely out of place for this dialog. This has to be Apply/Close or something.
62 lines
1.5 KiB
XML
62 lines
1.5 KiB
XML
<?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>Apply</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>Close</legend>
|
|
<equal>true</equal>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
<empty><stretch>true</stretch></empty>
|
|
</group>
|
|
</PropertyList>
|