EricSchaefer
EricSchaefer

Reputation: 26330

Is it possible to configure the mono default font for menus?

The winforms default font for menus in mono (Ubuntu 10.04) does not support german umlauts. While I can set the font for form content (this.Font), I could not figure out where to configure the menu font. Any suggestions?

Edit:

I am now using a ToolStripMenu which uses Parent.Font as Font. Works fine.

Upvotes: 1

Views: 1682

Answers (2)

jpobst
jpobst

Reputation: 9982

If you are referring to MainMenu, the font comes from SystemFonts.DefaultFont, and is not configurable. You would have to change it by changing Mono's source code (System.Windows.Forms/Theme.cs, MenuFont property).

If you are referring to MenuStrip, the font is settable using MenuStrip.Font.

Upvotes: 1

Vasyl Boroviak
Vasyl Boroviak

Reputation: 6128

I assume the font mono uses by default is the system default font.

Upvotes: 0

Related Questions