summaryrefslogtreecommitdiffstats
path: root/tests/auto/shared/highdpi.h
Commit message (Collapse)AuthorAgeFilesLines
* Make tst_qwidget pass on High-DPI screens (Windows)Friedemann Kleint2019-06-031-0/+109
- Move the fuzz check introduced by 63090627220a6209652d236cf991305fbeb188b8 to a shared header for reuse. Use it in in more places to account for rounding errors introduced by odd window frame sizes when scaling is active. - Use the test widget size to ensure windows do not violate the minimum decorated window size on Windows when scaling is inactive on large monitors. Task-number: QTBUG-46615 Change-Id: Icf803a4bc2c275eadb8f98e60b08e39b2ebebedd Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>