Add 2D panel hide options to view dialog. Fix indentation.
This commit is contained in:
parent
69d23bc972
commit
4ad071b1c8
1 changed files with 46 additions and 26 deletions
|
@ -1,11 +1,8 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<name>view</name>
|
<name>view</name>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nasal>
|
<nasal>
|
||||||
<open>
|
<open>
|
||||||
|
|
||||||
|
@ -53,21 +50,19 @@
|
||||||
}
|
}
|
||||||
</open>
|
</open>
|
||||||
</nasal>
|
</nasal>
|
||||||
|
|
||||||
<modal>false</modal>
|
<modal>false</modal>
|
||||||
<layout>vbox</layout>
|
<layout>vbox</layout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<empty><stretch>1</stretch></empty>
|
<empty><stretch>1</stretch></empty>
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<label>View Options</label>
|
<label>View Options</label>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
<empty><stretch>1</stretch></empty>
|
<empty><stretch>1</stretch></empty>
|
||||||
|
|
||||||
<button>
|
<button>
|
||||||
<pref-width>16</pref-width>
|
<pref-width>16</pref-width>
|
||||||
|
@ -169,7 +164,31 @@
|
||||||
<command>dialog-apply</command>
|
<command>dialog-apply</command>
|
||||||
</binding>
|
</binding>
|
||||||
</checkbox>
|
</checkbox>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Hide 2D panel in non-centered view</label>
|
||||||
|
<property>/sim/panel/hide-nonzero-heading-offset</property>
|
||||||
|
<enable>
|
||||||
|
<property>/sim/panel/visibility</property>
|
||||||
|
</enable>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Hide 2D panel in non-cockpit view</label>
|
||||||
|
<property>/sim/panel/hide-nonzero-view</property>
|
||||||
|
<enable>
|
||||||
|
<property>/sim/panel/visibility</property>
|
||||||
|
</enable>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
<checkbox>
|
<checkbox>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>Autohide menubar</label>
|
<label>Autohide menubar</label>
|
||||||
|
@ -181,6 +200,7 @@
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
|
<halign>left</halign>
|
||||||
<padding>0</padding>
|
<padding>0</padding>
|
||||||
|
|
||||||
<checkbox>
|
<checkbox>
|
||||||
|
@ -212,19 +232,19 @@
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|
||||||
<hrule/>
|
<hrule/>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Close</legend>
|
||||||
|
<default>true</default>
|
||||||
|
<key>Esc</key>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-close</command>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
<button>
|
|
||||||
<legend>Close</legend>
|
|
||||||
<default>true</default>
|
|
||||||
<key>Esc</key>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-apply</command>
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-close</command>
|
|
||||||
</binding>
|
|
||||||
</button>
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
Loading…
Reference in a new issue