Scaling problems with the apps and preview Windows 11
-
Hi, on Windows 11 Qt Creator and Qt Design studio are huge. Worse is that when I preview in Qt Design studio, things like text in buttons are much larger than in the editor, the text hits the edges of the buttons.
My laptop defaults to (Recommended) 150% scaling at 2560x1600
If i reduce windows scaling to 100% then the preview text seems to look the same as the design view, but then my whole system is so small I can't see anything.
If i use batch script i can get Qt Creator and Qt Design studio to a reasonable size with set QT_SCALE_FACTOR=0.85 but then i still have the preview text is bigger in button etc problem.
Its a nightmare! I have been using Qt Designer and Vscode for a lot of apps and across many softwares i've never had any such trouble.
Any ideas or tricks ? Many thanks.
-
What QtCreator version do you use? And what Qt version do you use for your own apps? Do they have the same problems?
-
What QtCreator version do you use? And what Qt version do you use for your own apps? Do they have the same problems?
Hi, Thanks, I have not got to using Qt Creator yet I am doing Qt Design Studio tutorials. I installed the latest versions of Qt Creator and Qt Design studio open source yesterday. With Qt Designer and Vscode I use 6.7.1 with pyside6 without issue. I hope that answers the question, I am student! not pro.
-
So what version of Qt Design studio do you use then?
-
So what version of Qt Design studio do you use then?
@Christian-Ehrlicher It says 4.5.1, I mentioned I installed the latest a couple of days ago, is that the latest? I will check. It says based on Qt 6.5.5 .......... edit: yes it seems to be the latest.
-
Ok, then you should wait for a bug report until it's using at least Qt6.7 - there were some scaling fixes.
-
Ok, then you should wait for a bug report until it's using at least Qt6.7 - there were some scaling fixes.
@Christian-Ehrlicher Qt Design Studio is being used professionally? So it must not have these problems. Is it because I have the open source version ?
-
@Christian-Ehrlicher Qt Design Studio is being used professionally? So it must not have these problems. Is it because I have the open source version ?
@JUDE34823 said in Scaling problems with the apps and preview Windows 11:
So it must not have these problems.
So professional software has no bugs?
-
@JUDE34823 said in Scaling problems with the apps and preview Windows 11:
So it must not have these problems.
So professional software has no bugs?
So professional software has no bugs?
Not generally. Professional versions are updated more frequently, and compiled against later Qt Versions. That makes it more likely to benefit from bug fixes, but also more exposed to newer bugs.
-
Hi, on Windows 11 Qt Creator and Qt Design studio are huge. Worse is that when I preview in Qt Design studio, things like text in buttons are much larger than in the editor, the text hits the edges of the buttons.
My laptop defaults to (Recommended) 150% scaling at 2560x1600
If i reduce windows scaling to 100% then the preview text seems to look the same as the design view, but then my whole system is so small I can't see anything.
If i use batch script i can get Qt Creator and Qt Design studio to a reasonable size with set QT_SCALE_FACTOR=0.85 but then i still have the preview text is bigger in button etc problem.
Its a nightmare! I have been using Qt Designer and Vscode for a lot of apps and across many softwares i've never had any such trouble.
Any ideas or tricks ? Many thanks.
@JUDE34823 said in Scaling problems with the apps and preview Windows 11:
My laptop defaults to (Recommended) 150% scaling at 2560x1600
150% is the issue here. QT_SCALE_FACTOR_ROUNDING_POLICY is an environment variable that controls how the 1.5 gets rounded. You might want to flor the value. Qt6 has a different default value than Qt5.
Qt Creator has a combobox which allows the user to select the rounding policy. See https://bugreports.qt.io/browse/QTCREATORBUG-29501