Difference between revisions of "Talk:Menubar"

From FlightGear wiki
Jump to: navigation, search
m (Switch to the {{forum url}} template for all forum links.)
(Moving section on styles and creating them: Should be moved to Moving section on styles and creating them)
Line 32: Line 32:
  
 
Implement the Current Menu Bar and its related Dialogs in Canvas
 
Implement the Current Menu Bar and its related Dialogs in Canvas
 +
 +
== Moving section on styles and creating them ==
 +
The section on styles and creating them should be moved to [[Howto:Create a custom GUI style]].
 +
 +
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 08:34, 14 October 2020 (EDT)

Revision as of 07:34, 14 October 2020

Explain how the menubar works ...

Explain how the menu bar works and how to add localized options: https://forum.flightgear.org/viewtopic.php?p=184042#p184042

This unsigned comment was added by Hooray (Talk | contribs) 20:30, 23 May 2013‎ (UTC)

Add, "How to Change the Default Menubar Font Size"

Took me a little while to figure out. The toughest part was finding the default menubar GUI style was named Anthrax, which was odd.

--- flightgear-data/fgdata/gui/styles/anthrax.xml.orig       2014-04-24 19:52:04.353028047 -0800
+++ flightgear-data/fgdata/gui/styles/anthrax.xml            2014-04-24 19:57:12.548002672 -0800
@@ -11,7 +11,7 @@
 
        <fonts>
                <gui>
-                       <name type="string">HELVETICA_12</name>
+                       <name type="string">HELVETICA_18</name>
                        <baseline-height type="float">21</baseline-height>
                </gui>

For those using bigger monitors, such as Dell U2713HM providing higher resolutions, I find it necessary to increase the font of the menubar. (Especially while browsing the Internal variables!)

"File > Reset", or restart FlightGear as the "Debug > Reload*" options won't reload the font size of the menubar.

Helvetica fonts doesn't seem to provide fonts larger than the size of 18 here on my Linux box, so specifying a higher size will only revert to the default font size.

I've posted this tip over within the forums for users searching via Google. ;-) --Rogerx (talk) 04:14, 25 April 2014 (UTC)

Implement the Current Menu Bar and its related Dialogs in Canvas

Implement the Current Menu Bar and its related Dialogs in Canvas

Moving section on styles and creating them

The section on styles and creating them should be moved to Howto:Create a custom GUI style.

Johan G (Talk | contribs) 08:34, 14 October 2020 (EDT)