Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Why does the text change its size?
I would like to ask for help for an unusual fact. On some PCs the text is displayed too large. Anyone know the reason for this?
For example, in this image the text is displayed correctly.
In this image, however, the text is too large and is not displayed in full because it leaves the edges of the QLabel
Why is this happening?
I use Qt Creator 4.11 on 64 bit Windows.
Thank you all.
@Stefano84 Do you use layouts?
Also be aware of DPI scaling which can also result in such situations.
This post is deleted!
thanks for your time.
No, I haven't used layouts. How you do it? The text is inside a QLabel. Can you give me an example of code?
Thanks so much.
Stefano84 last edited by Stefano84
I did as you said but it doesn't work. I solved it by creating a configuration file "qt.conf" where I inserted the following lines:
WindowsArguments = dpiawareness=0
How do I mark that I solved it?