1
0
Fork 0

Zoom controls on the map dialg.

This commit is contained in:
James Turner 2011-09-18 13:00:18 +01:00
parent 9195b36005
commit ded0a18b5e

View file

@ -182,16 +182,60 @@ command interface /autopilot/route-manager/input:
<vrule/>
<map>
<!-- <halign>fill</halign> -->
<valign>fill</valign>
<halign>fill</halign>
<group>
<layout>vbox</layout>
<stretch>true</stretch>
<pref-height>400</pref-height>
<pref-width>600</pref-width>
<property>/gui/map</property>
</map>
<map>
<!-- <halign>fill</halign> -->
<valign>fill</valign>
<halign>fill</halign>
<stretch>true</stretch>
<pref-height>400</pref-height>
<pref-width>600</pref-width>
<property>/gui/map</property>
</map>
<hrule/>
<group>
<layout>hbox</layout>
<button>
<legend>-</legend>
<pref-width>22</pref-width>
<pref-height>22</pref-height>
<binding>
<command>property-adjust</command>
<property>/gui/map/zoom</property>
<min>0</min>
<step>-1</step>
</binding>
</button>
<text>
<label>MMM</label>
<format>Zoom %d</format>
<property>/gui/map/zoom</property>
<live>true</live>
</text>
<button>
<legend>+</legend>
<pref-width>22</pref-width>
<pref-height>22</pref-height>
<binding>
<command>property-adjust</command>
<property>/gui/map/zoom</property>
<step>1</step>
<max>12</max>
</binding>
</button>
</group>
</group>
</group>
</PropertyList>