1
0
Fork 0
fgdata/gui/dialogs/pilot_offset.xml

140 lines
2.9 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>pilot_offset</name>
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<empty><stretch>1</stretch></empty>
<text>
<label>Adjust View Position</label>
</text>
<empty><stretch>1</stretch></empty>
<button>
<pref-width>16</pref-width>
<pref-height>16</pref-height>
<legend></legend>
<keynum>27</keynum>
<border>2</border>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<group>
<layout>vbox</layout>
<text><label>Left/Right</label></text>
<dial>
<wrap>false</wrap>
<min>-100</min>
<max>100</max>
<stretch>true</stretch>
<property>/sim/current-view/x-offset-m</property>
<binding><command>dialog-apply</command></binding>
</dial>
<button>
<legend>Zero</legend>
<binding>
<command>property-assign</command>
<property>/sim/current-view/x-offset-m</property>
<value>0</value>
</binding>
</button>
<text>
<label>-100.00</label>
<format>%-0.2f m</format>
<live>true</live>
<property>/sim/current-view/x-offset-m</property>
</text>
</group>
<group>
<layout>vbox</layout>
<text><label>Down/Up</label></text>
<dial>
<wrap>false</wrap>
<min>-100</min>
<max>100</max>
<stretch>true</stretch>
<property>/sim/current-view/y-offset-m</property>
<binding><command>dialog-apply</command></binding>
</dial>
<button>
<legend>Zero</legend>
<binding>
<command>property-assign</command>
<property>/sim/current-view/y-offset-m</property>
<value>0</value>
</binding>
</button>
<text>
<label>-100.00</label>
<format>%-0.2f m</format>
<live>true</live>
<property>/sim/current-view/y-offset-m</property>
</text>
</group>
<group>
<layout>vbox</layout>
<text><label>Fwd/Back</label></text>
<dial>
<wrap>false</wrap>
<min>-100</min>
<max>100</max>
<stretch>true</stretch>
<property>/sim/current-view/z-offset-m</property>
<binding><command>dialog-apply</command></binding>
</dial>
<button>
<legend>Zero</legend>
<binding>
<command>property-assign</command>
<property>/sim/current-view/z-offset-m</property>
<value>0</value>
</binding>
</button>
<text>
<label>-100.00</label>
<format>%-0.2f m</format>
<live>true</live>
<property>/sim/current-view/z-offset-m</property>
</text>
</group>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<button>
<legend>Close</legend>
<equal>true</equal>
<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>