PDA

View Full Version : QMenuBar Text Update



tvj4218
11th April 2017, 02:16
Hello. I am trying to update the font of QMenuBar and QAction at runtime. I am able to do this for QAction using setFont, but using setFont with QMenuBar has no affect on the QMenuBar's text?

Is this something you can do in Qt? If so, how do you do it?

thanks.

t

high_flyer
11th April 2017, 09:54
It would surprise me if it did do something since a menu bar has no text of its own, its nothing more than a container for menus.
Try setting the font to the menus them selves.