change different font size of different widget at a time
-
Hi
Well there is QApplication::setFont(font); -
problem is i used mixed font in different widgets . like some button has font size 11 and some has 10.
so i guess i have to set one number to all??
thanks .
-
@saber
It depends on what goal is.
Use same size on all or what you want.
Else you will to handle the buttons manually.
So yes, one size is easier.if you already are using style sheets, it could also be an option.
-
maybe you could try with stylesheet ? like "QWidget { font-family: xxxx }" ?
UPDATE:
well I just found that QWidget only supports background style properties, useless suggestion, plz ignore me.