<?xml version="1.0"?>

<PropertyList>
  <name>display</name>
  <modal>false</modal>
  <layout>vbox</layout>

  <group>
    <layout>hbox</layout>
	  <empty><stretch>1</stretch></empty>

    <text>
      <label>Display Options</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>vbox</layout>
    <halign>center</halign>

    <checkbox>
      <halign>left</halign>
      <label>Show frame rate</label>
      <property>/sim/rendering/fps-display</property>
      <binding>
        <command>dialog-apply</command>
      </binding>
    </checkbox>

    <checkbox>
      <halign>left</halign>
      <label>Show chat messages</label>
      <property>/sim/multiplay/chat-display</property>
      <binding>
        <command>dialog-apply</command>
      </binding>
    </checkbox>

    <checkbox>
      <halign>left</halign>
      <label>Show view name popup</label>
      <property>/sim/view-name-popup</property>
      <binding>
        <command>dialog-apply</command>
      </binding>
    </checkbox>

    <checkbox>
      <halign>left</halign>
      <label>Show 2D Panel</label>
      <property>/sim/panel/visibility</property>
      <binding>
        <command>dialog-apply</command>
      </binding>
    </checkbox>

    <checkbox>
      <halign>left</halign>
      <label>Autohide Menubar</label>
      <property>/sim/menubar/autovisibility/enabled</property>
      <binding>
        <command>dialog-apply</command>
      </binding>
    </checkbox>
  </group>

  <hrule/>

  <button>
    <legend>Close</legend>
    <default>true</default>
    <key>Esc</key>
    <binding>
      <command>dialog-close</command>
    </binding>
  </button>

</PropertyList>