All Qt labels font too small (Qt4)
-
Hi, we have a problem.
On a PC (Windows 7) have all Qt labels to small font.
Does anyone know it?Screenshot:
https://cloud.sofistik.de/oc/public.php?service=files&t=911e12814549dfd6bc236c0ccea110f3regards
Alex -
Does anyone know what? That question needs clarification.
In the meantime I believe you can change the font using QWidget::setfont(...) method. You can create a QFont with whatever properties you want (including a larger font). If you want to use the same font but make it larger, start by getting the widget's current font (using QWidget::font() method) and then making a copy. Finally, set the font size using the Qfont methods.
Documentation for those particular classes can be found on this sight.
-
Hi and welcome to devnet,
Are you using a stylesheet somewhere in your application ?
-
Hi there,
it is an old software from us.
We do not use style sheets.
We also use standart fonts, font sizes we default.
It is a single PC makes demands on the problem. -
So you only have that problem on one PC ?
-
Yes, there is only one PC affected.
Customer reports, it has always worked. For two weeks, he has the problem.
Lately, nothing unusual was installed.
Just uninstalled Java and made flash update. -
Windows automatic update ?
-
Yes, automatic update
-
Sorry, I meant, did one happen ?
-
I guess so.
But the problem has already been done.
The customer has switched to a newer version, because there is no problem.
Thank you.