Minor UI layout changes.
- Change title of static LOD and View dialogs to be closer to menu description. - Improve layout of About dialog, add Close button, no-longer modal.
This commit is contained in:
parent
a5ae081189
commit
3a53827272
3 changed files with 128 additions and 81 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
<PropertyList>
|
||||
<name>about</name>
|
||||
<modal>true</modal>
|
||||
<modal>false</modal>
|
||||
<layout>vbox</layout>
|
||||
<resizable>false</resizable>
|
||||
<default-padding>3</default-padding>
|
||||
|
@ -52,107 +52,154 @@
|
|||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
<halign>left</halign>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM</label>
|
||||
<format>This is FlightGear Flight Simulator V%s</format>
|
||||
<property>/sim/version/flightgear</property>
|
||||
</text>
|
||||
<default-padding>5</default-padding>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
||||
<empty>
|
||||
<stretch>true</stretch>
|
||||
</empty>
|
||||
|
||||
<text>
|
||||
<label>FlightGear Flight Simulator VX.X.X</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>FlightGear is free and open source software, licensed</label>
|
||||
</text>
|
||||
<empty>
|
||||
<stretch>true</stretch>
|
||||
</empty>
|
||||
</group>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>under the GNU General Public License Version 2.</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Get new versions, add-ons, forum, wiki and more</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>from the web-site at http://www.flightgear.org/ for free.</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Have a nice flight!</label>
|
||||
<label>(c) 1996-2011, the FlightGear Contributors</label>
|
||||
</text>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
<border>10</border>
|
||||
<halign>center</halign>
|
||||
<default-padding>2</default-padding>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>FlightGear is free and open source software, licensed</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>under the GNU General Public License Version 2.</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Get new versions, add-ons, forum, wiki and more</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>from the web-site at http://www.flightgear.org/ for free.</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Have a nice flight!</label>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
||||
<empty>
|
||||
<stretch>true</stretch>
|
||||
</empty>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Version information</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMM</label>
|
||||
<format>FlightGear Version: %s</format>
|
||||
<property>/sim/version/flightgear</property>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMM</label>
|
||||
<format>SimGear Version: %s</format>
|
||||
<property>/sim/version/simgear</property>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMMMMMMMMMM</label>
|
||||
<format>OpenSceneGraph Version: %s</format>
|
||||
<property>/sim/version/openscenegraph</property>
|
||||
<halign>center</halign>
|
||||
<label>Version Information</label>
|
||||
</text>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
<border>10</border>
|
||||
<halign>center</halign>
|
||||
<default-padding>2</default-padding>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMM</label>
|
||||
<format>FlightGear Version: %s</format>
|
||||
<property>/sim/version/flightgear</property>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMM</label>
|
||||
<format>SimGear Version: %s</format>
|
||||
<property>/sim/version/simgear</property>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMMMMMMMMMM</label>
|
||||
<format>Build Id: %s</format>
|
||||
<property>/sim/version/build-id</property>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMMMMMMMMMM</label>
|
||||
<format>OpenSceneGraph Version: %s</format>
|
||||
<property>/sim/version/openscenegraph</property>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMMMMMMMMMM</label>
|
||||
<format>Build Id: %s</format>
|
||||
<property>/sim/version/build-id</property>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMM</label>
|
||||
<format>Build Number: %d</format>
|
||||
<property>/sim/version/build-number</property>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM</label>
|
||||
<format>Revision: %s</format>
|
||||
<property>/sim/version/revision</property>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<halign>fill</halign>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMM</label>
|
||||
<format>Build Number: %d</format>
|
||||
<property>/sim/version/build-number</property>
|
||||
</text>
|
||||
<empty><stretch>true</stretch></empty>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>MMMMMM</label>
|
||||
<format>Revision: %s</format>
|
||||
<property>/sim/version/revision</property>
|
||||
</text>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<text>
|
||||
<label>(c) 1996-2011, the FlightGear contributors</label>
|
||||
</text>
|
||||
<button>
|
||||
<legend>Close</legend>
|
||||
<equal>true</equal>
|
||||
<default>true</default>
|
||||
<key>Esc</key>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<empty><stretch>true</stretch></empty>
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<nasal>
|
||||
<open><![CDATA[
|
||||
# Replace version in Nasal, as using the <format> code upsets layout
|
||||
var ver = cmdarg().getNode("group[1]/group/text/label");
|
||||
ver.setValue("FlightGear Flight Simulator V" ~ getprop("/sim/version/flightgear"));
|
||||
]]></open>
|
||||
|
||||
<close><![CDATA[
|
||||
]]></close>
|
||||
|
||||
</nasal>
|
||||
</PropertyList>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<empty><stretch>1</stretch></empty>
|
||||
|
||||
<text>
|
||||
<label>Static Scenery Level Of Detail</label>
|
||||
<label>Adjust Level Of Detail Ranges</label>
|
||||
</text>
|
||||
|
||||
<empty><stretch>1</stretch></empty>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<hrule/>
|
||||
|
||||
<text>
|
||||
<label>Choose Active Views</label>
|
||||
<label>Select Active Views</label>
|
||||
</text>
|
||||
|
||||
<nasal>
|
||||
|
|
Loading…
Add table
Reference in a new issue