wxMenuBar font in main line (and wxRibbon bar)

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Lech Kozarski
Earned a small fee
Earned a small fee
Posts: 20
Joined: Sat Nov 26, 2011 3:15 pm

wxMenuBar font in main line (and wxRibbon bar)

Post by Lech Kozarski »

Do you someone know, how to enlarge the letters in the main line of the wxMenuBar.
I know how to do it in the following down lines, but unfortunately it does not work in the main menu line.
And I ahve the same problem with wxRibbon menu.
Thanks
Attachments
menubar.png
menubar.png (14.82 KiB) Viewed 1462 times
Lech Kozarski
Earned a small fee
Earned a small fee
Posts: 20
Joined: Sat Nov 26, 2011 3:15 pm

Re: wxMenuBar font in main line (and wxRibbon bar)

Post by Lech Kozarski »

This is correct image
Attachments
menubar2.png
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxMenuBar font in main line (and wxRibbon bar)

Post by doublemax »

I don't think so. That's a system setting and i sure hope it's not possible to override that ;)
Use the source, Luke!
User avatar
T-Rex
Moderator
Moderator
Posts: 1249
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Re: wxMenuBar font in main line (and wxRibbon bar)

Post by T-Rex »

You can try to use wxFlatMenuBar (in fact, I don't know how it is implemented internally, but probably it is owner-drawn). There was a topic here at wxForum. Or you can try to contact Eran directly (or via private messages here at wxForum). http://wxwidgets.10942.n7.nabble.com/wx ... d9356.html
Post Reply