601f1c14c4
"I've managed to fix this by differentiating rebuilding the 3D layers (e.g. due to METAR updates) from rebuilding the entire environment (due to a change in scenario)." /me: property-browser.xml: drop a redundant line
83 lines
1.6 KiB
XML
83 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>
|
|
</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>OK</legend>
|
|
<default>true</default>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
<button>
|
|
<legend>Apply</legend>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</button>
|
|
|
|
<button>
|
|
<legend>Close</legend>
|
|
<key>Esc</key>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
<empty><stretch>true</stretch></empty>
|
|
</group>
|
|
</PropertyList>
|