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
|
@ -3,9 +3,6 @@
|
|||
<PropertyList>
|
||||
<name>view</name>
|
||||
|
||||
|
||||
|
||||
|
||||
<nasal>
|
||||
<open>
|
||||
|
||||
|
@ -57,8 +54,6 @@
|
|||
<modal>false</modal>
|
||||
<layout>vbox</layout>
|
||||
|
||||
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<empty><stretch>1</stretch></empty>
|
||||
|
@ -170,6 +165,30 @@
|
|||
</binding>
|
||||
</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>
|
||||
<halign>left</halign>
|
||||
<label>Autohide menubar</label>
|
||||
|
@ -181,6 +200,7 @@
|
|||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<halign>left</halign>
|
||||
<padding>0</padding>
|
||||
|
||||
<checkbox>
|
||||
|
@ -213,7 +233,6 @@
|
|||
|
||||
</group>
|
||||
|
||||
|
||||
<hrule/>
|
||||
|
||||
<button>
|
||||
|
@ -227,4 +246,5 @@
|
|||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
</PropertyList>
|
||||
|
|
Loading…
Reference in a new issue