1
0
Fork 0
fgdata/gui/dialogs/weather-metar-description.xml
Julian Smith b21ecb2315 gui/dialogs/weather*: show METAR description in separate window.
METAR description is too big to fit in 'Weather Conditions' window.

Also moved the description of item selected in the popup (Live data, Manual
input, ... etc.) so it is immediately below the popup. Used to be the other
side of the METAR info, which was a little confusing.
2019-11-06 17:53:03 +00:00

53 lines
1.3 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>weather-metar-description</name>
<modal>false</modal>
<resizable>true</resizable>
<layout>vbox</layout>
<width>300</width>
<height>150</height>
<default-padding>3</default-padding>
<group>
<layout>hbox</layout>
<text>
<label>METAR Description</label>
</text>
<empty>
<stretch>true</stretch>
</empty>
<button>
<legend/>
<key>Esc</key>
<pref-width>16</pref-width>
<pref-height>16</pref-height>
<border>2</border>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<textbox>
<name>metar-string-human</name>
<halign>fill</halign>
<valign>fill</valign>
<stretch>true</stretch>
<pref-height>200</pref-height>
<slider>15</slider>
<editable>false</editable>
<wrap>true</wrap>
<top-line>0</top-line>
<property>/environment/metar/description</property>
</textbox>
<button>
<legend>Close</legend>
<equal>true</equal>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>