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

@ -43,6 +43,15 @@
<property>/sim/current-view/x-offset-m</property> <property>/sim/current-view/x-offset-m</property>
<binding><command>dialog-apply</command></binding> <binding><command>dialog-apply</command></binding>
</dial> </dial>
<button>
<legend>Zero</legend>
<binding>
<command>property-assign</command>
<property>/sim/current-view/x-offset-m</property>
<value>0</value>
</binding>
</button>
<text> <text>
<label>-100.00</label> <label>-100.00</label>
@ -64,6 +73,15 @@
<property>/sim/current-view/y-offset-m</property> <property>/sim/current-view/y-offset-m</property>
<binding><command>dialog-apply</command></binding> <binding><command>dialog-apply</command></binding>
</dial> </dial>
<button>
<legend>Zero</legend>
<binding>
<command>property-assign</command>
<property>/sim/current-view/y-offset-m</property>
<value>0</value>
</binding>
</button>
<text> <text>
<label>-100.00</label> <label>-100.00</label>
@ -85,6 +103,15 @@
<property>/sim/current-view/z-offset-m</property> <property>/sim/current-view/z-offset-m</property>
<binding><command>dialog-apply</command></binding> <binding><command>dialog-apply</command></binding>
</dial> </dial>
<button>
<legend>Zero</legend>
<binding>
<command>property-assign</command>
<property>/sim/current-view/z-offset-m</property>
<value>0</value>
</binding>
</button>
<text> <text>
<label>-100.00</label> <label>-100.00</label>