1
0
Fork 0
fgdata/gui/dialogs/atc-freq-search.xml
mfranz b360c2ad62 use <enabled>false</enabled> flag for widgets that shouldn't be drawn
instead of <hide>true</hide>. This is consistent with other places
in fgfs, like menu entries, hud elements, subsystem switches, etc.
2008-08-05 05:28:27 +00:00

82 lines
1.6 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>atc-freq-search</name>
<layout>vbox</layout>
<text>
<label>Display Airport Frequencies</label>
</text>
<hrule/>
<group>
<name>quick-buttons</name>
<layout>hbox</layout>
<halign>center</halign>
<button-template>
<enabled>false</enabled>
<legend>ICAO</legend>
<binding>
<command>property-assign</command>
<property>/sim/atc/freq-airport</property>
<value type="string">ICAO</value>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button-template>
</group>
<text>
<name>no-atc-in-range</name>
<enabled>false</enabled>
<label>No ATC in range 50 nm.</label>
</text>
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<text>
<label>Airport identifier:</label>
</text>
<input>
<halign>fill</halign>
<stretch>false</stretch>
<property>/sim/atc/freq-airport</property>
</input>
<empty><stretch>true</stretch></empty>
</group>
<group>
<layout>hbox</layout>
<halign>fill</halign>
<default-padding>10</default-padding>
<empty><stretch>true</stretch></empty>
<button>
<legend>OK</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
<button>
<legend>Cancel</legend>
<equal>true</equal>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
</group>
</PropertyList>