1
0
Fork 0
fgdata/gui/dialogs/pilot_offset.xml
Stuart Buchanan 3d7d00ead9 Minor changes various dialogs to make generally consistent:
- Title bar with cancel button in top left hand side.
- horizontal line dividing main dialog from bottom buttons
- Minor layout and Nasal fixes.
2010-12-27 20:19:31 +00:00

113 lines
2.3 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>
<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>
<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>
<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>