Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.12.4, 5.13.0
-
Windows 10
Description
When the DPI is changed on Windows to be one higher and a label has an alignment in a layout it is not updated correctly. It will keep the original size of the label and not update to the new one. This does not happen if there is no explicit alignment set.
With the example, run it and then change the DPI to 150% or 200% and see that it has not updated. If you comment out the setAlignment() call then it works fine.
Attachments
Issue Links
- is duplicated by
-
QTBUG-77302 Windowsvista style: checkbox & radiobutton button does not resize when screen scaling is changed
- Closed
- relates to
-
QTBUG-76902 Widgets and fonts have wrong size after moving to screen due to disconnect with different DPI when dpiawareness = 2
- Closed
-
QTBUG-83649 QPA: Windows: Window needs relayout after DPI changes
- Reported