1
0
Fork 0

Update map dialog:-

- Close button
- Remove inactive buttons (Obstacles, Airways)
- Minor layout improvements
This commit is contained in:
Stuart Buchanan 2010-12-29 20:18:48 +00:00
parent bcfbf16205
commit 24cfaf6e44

View file

@ -40,7 +40,6 @@ command interface /autopilot/route-manager/input:
<pref-width>16</pref-width>
<pref-height>16</pref-height>
<legend></legend>
<default>1</default>
<keynum>27</keynum>
<border>2</border>
@ -60,7 +59,7 @@ command interface /autopilot/route-manager/input:
<layout>vbox</layout>
<button>
<legend>Fixes</legend>
<pref-width>80</pref-width>
<pref-width>100</pref-width>
<property>/gui/map/draw-fixes</property>
<live>true</live>
<binding>
@ -73,7 +72,7 @@ command interface /autopilot/route-manager/input:
<button>
<legend>Navaids</legend>
<pref-width>80</pref-width>
<pref-width>100</pref-width>
<property>/gui/map/draw-navaids</property>
<live>true</live>
<binding>
@ -83,15 +82,16 @@ command interface /autopilot/route-manager/input:
<command>property-toggle</command>
</binding>
</button>
<!--
<button>
<legend>Airways</legend>
<pref-width>80</pref-width>
<pref-width>100</pref-width>
</button>
-->
<button>
<legend>Traffic</legend>
<pref-width>80</pref-width>
<pref-width>100</pref-width>
<property>/gui/map/draw-traffic</property>
<live>true</live>
<binding>
@ -102,14 +102,16 @@ command interface /autopilot/route-manager/input:
</binding>
</button>
<!--
<button>
<legend>Obstacles</legend>
<pref-width>80</pref-width>
<pref-width>100</pref-width>
</button>
-->
<button>
<legend>Data</legend>
<pref-width>80</pref-width>
<pref-width>100</pref-width>
<property>/gui/map/draw-data</property>
<live>true</live>
<binding>
@ -124,7 +126,7 @@ command interface /autopilot/route-manager/input:
<button>
<legend>Center on Acft</legend>
<pref-width>80</pref-width>
<pref-width>100</pref-width>
<property>/gui/map/centre-on-aircraft</property>
<live>true</live>
<binding>
@ -137,7 +139,7 @@ command interface /autopilot/route-manager/input:
<button>
<legend>Acft Hdg Up</legend>
<pref-width>80</pref-width>
<pref-width>100</pref-width>
<property>/gui/map/aircraft-heading-up</property>
<live>true</live>
<binding>
@ -150,7 +152,7 @@ command interface /autopilot/route-manager/input:
<button>
<legend>Magnetic Hdgs</legend>
<pref-width>80</pref-width>
<pref-width>100</pref-width>
<property>/gui/map/magnetic-headings</property>
<live>true</live>
<binding>
@ -160,8 +162,22 @@ command interface /autopilot/route-manager/input:
<command>property-toggle</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
<button>
<legend>Close</legend>
<pref-width>100</pref-width>
<default>true</default>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<vrule/>
<map>
<!-- <halign>fill</halign> -->
<valign>fill</valign>