c1c86bb8a5
- minor improvements/cosmetics
77 lines
1.6 KiB
XML
77 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
<name>weather_scenario</name>
|
|
<modal>false</modal>
|
|
<layout>vbox</layout>
|
|
|
|
<text>
|
|
<label>Weather Scenario</label>
|
|
</text>
|
|
|
|
<hrule/>
|
|
|
|
<text>
|
|
<label></label>
|
|
</text>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<text>
|
|
<label>Weather source</label>
|
|
<halign>left</halign>
|
|
</text>
|
|
<combo>
|
|
<pref-width>200</pref-width>
|
|
<property>/environment/weather-scenario</property>
|
|
<value>Fair weather</value>
|
|
<value>Thunderstorm</value>
|
|
<value>METAR</value>
|
|
<value>none</value>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>
|
|
setprop("/environment/rebuild-layers", getprop("/environment/rebuild-layers")+1);
|
|
</script>
|
|
</binding>
|
|
</combo>
|
|
</group>
|
|
|
|
<text><label>Last metar used</label></text>
|
|
<textbox>
|
|
<halign>fill</halign>
|
|
<pref-width>400</pref-width>
|
|
<pref-height>120</pref-height>
|
|
<slider>20</slider>
|
|
<live>true</live>
|
|
<wrap>true</wrap>
|
|
<editable>false</editable>
|
|
<property>/environment/metar/last-metar</property>
|
|
</textbox>
|
|
|
|
<text>
|
|
<label></label>
|
|
</text>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<empty><stretch>true</stretch></empty>
|
|
|
|
<button>
|
|
<legend>Close</legend>
|
|
<default>true</default>
|
|
<key>Esc</key>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
<empty><stretch>true</stretch></empty>
|
|
</group>
|
|
</PropertyList>
|