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-width>16</pref-width>
<pref-height>16</pref-height> <pref-height>16</pref-height>
<legend></legend> <legend></legend>
<default>1</default>
<keynum>27</keynum> <keynum>27</keynum>
<border>2</border> <border>2</border>
@ -50,17 +49,17 @@ command interface /autopilot/route-manager/input:
</button> </button>
</group> </group>
<hrule/> <hrule/>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<stretch>true</stretch> <stretch>true</stretch>
<!-- sidebar --> <!-- sidebar -->
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
<button> <button>
<legend>Fixes</legend> <legend>Fixes</legend>
<pref-width>80</pref-width> <pref-width>100</pref-width>
<property>/gui/map/draw-fixes</property> <property>/gui/map/draw-fixes</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -70,10 +69,10 @@ command interface /autopilot/route-manager/input:
<command>property-toggle</command> <command>property-toggle</command>
</binding> </binding>
</button> </button>
<button> <button>
<legend>Navaids</legend> <legend>Navaids</legend>
<pref-width>80</pref-width> <pref-width>100</pref-width>
<property>/gui/map/draw-navaids</property> <property>/gui/map/draw-navaids</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -83,15 +82,16 @@ command interface /autopilot/route-manager/input:
<command>property-toggle</command> <command>property-toggle</command>
</binding> </binding>
</button> </button>
<!--
<button> <button>
<legend>Airways</legend> <legend>Airways</legend>
<pref-width>80</pref-width> <pref-width>100</pref-width>
</button> </button>
-->
<button> <button>
<legend>Traffic</legend> <legend>Traffic</legend>
<pref-width>80</pref-width> <pref-width>100</pref-width>
<property>/gui/map/draw-traffic</property> <property>/gui/map/draw-traffic</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -101,15 +101,17 @@ command interface /autopilot/route-manager/input:
<command>property-toggle</command> <command>property-toggle</command>
</binding> </binding>
</button> </button>
<!--
<button> <button>
<legend>Obstacles</legend> <legend>Obstacles</legend>
<pref-width>80</pref-width> <pref-width>100</pref-width>
</button> </button>
-->
<button> <button>
<legend>Data</legend> <legend>Data</legend>
<pref-width>80</pref-width> <pref-width>100</pref-width>
<property>/gui/map/draw-data</property> <property>/gui/map/draw-data</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -119,12 +121,12 @@ command interface /autopilot/route-manager/input:
<command>property-toggle</command> <command>property-toggle</command>
</binding> </binding>
</button> </button>
<empty><stretch>true</stretch></empty> <empty><stretch>true</stretch></empty>
<button> <button>
<legend>Center on Acft</legend> <legend>Center on Acft</legend>
<pref-width>80</pref-width> <pref-width>100</pref-width>
<property>/gui/map/centre-on-aircraft</property> <property>/gui/map/centre-on-aircraft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -134,10 +136,10 @@ command interface /autopilot/route-manager/input:
<command>property-toggle</command> <command>property-toggle</command>
</binding> </binding>
</button> </button>
<button> <button>
<legend>Acft Hdg Up</legend> <legend>Acft Hdg Up</legend>
<pref-width>80</pref-width> <pref-width>100</pref-width>
<property>/gui/map/aircraft-heading-up</property> <property>/gui/map/aircraft-heading-up</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -147,10 +149,10 @@ command interface /autopilot/route-manager/input:
<command>property-toggle</command> <command>property-toggle</command>
</binding> </binding>
</button> </button>
<button> <button>
<legend>Magnetic Hdgs</legend> <legend>Magnetic Hdgs</legend>
<pref-width>80</pref-width> <pref-width>100</pref-width>
<property>/gui/map/magnetic-headings</property> <property>/gui/map/magnetic-headings</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -160,8 +162,22 @@ command interface /autopilot/route-manager/input:
<command>property-toggle</command> <command>property-toggle</command>
</binding> </binding>
</button> </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> </group>
<vrule/>
<map> <map>
<!-- <halign>fill</halign> --> <!-- <halign>fill</halign> -->
<valign>fill</valign> <valign>fill</valign>
@ -171,7 +187,7 @@ command interface /autopilot/route-manager/input:
<pref-width>600</pref-width> <pref-width>600</pref-width>
<property>/gui/map</property> <property>/gui/map</property>
</map> </map>
</group> </group>
</PropertyList> </PropertyList>