1
0
Fork 0

gui/dialogs/pilot_offset.xml: in 'Adjust View Position', added 'Zero' buttons.

This commit is contained in:
Julian Smith 2019-06-17 01:01:51 +01:00
parent 944cddcb49
commit 72e2aa8c1e

View file

@ -44,6 +44,15 @@
<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>
@ -65,6 +74,15 @@
<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>
@ -86,6 +104,15 @@
<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>