Questions: menu color and font size


#1

Hi all.

1, how to set the background color of the menu bar and how to set menu text size?

2, by default, all the interface text (font) is too big, how to reduce and control the font size of all text?

3, how to cancel the text’s anti-aliasing effects and let them more clearly? I still do not know how to do.

If give me some sample code, it would be very great. My programming such as my English, they are poor. high-level discussions I did not understand, more I see, more confused. :cry: I only can understanding at some simple code, and then struggling to research and testing, and memorization by hard…

Thanks very much!


#2

Read the documentation, and search the forum. These questions have been asked 100s of times at least.


#3

The size of the menu bar,OK了!

setMenuBar (contentComp, 15);

font size of menu items, continue to grope


#4

? ?
My post previous, was deleted?


#5

font size of Menu item, has ok! Rewrite this function of LookAndFeel class…

getIdealPopupMenuItemSize()


#6

Subclass can override the parent class function, really good!
Before this, I only know that subclasses must override the pure virtual function of the parent class!

Sweating …

Now know, so excited!