path: root/examples/widgets/dialogs/tabdialog/CMakeLists.txt
diff options
authorTor Arne Vestbø <>2022-06-16 14:55:14 +0200
committerTor Arne Vestbø <>2022-06-30 00:28:35 +0200
commit97665c9615ff399e9a074b94926ab06e0c9619e5 (patch)
tree0244ffed8663ea8fd0211fb478a8972ce596dcec /examples/widgets/dialogs/tabdialog/CMakeLists.txt
parent54f328f0e8205480749a6d8d2ebe0e58cb1cdb67 (diff)
Windows: Don't rely on top level QWindow to scale children on DPI changeHEADdev
The native size of a QWindow on Windows is the logical size of the window times the window's device pixel ratio. We manage this relationship for top level windows via the WM_GETDPISCALEDSIZE message, and during WM_DPICHANGED we then applied the same scale to child windows. This is problematic in the case where a child window does not have a QWindow parent, so instead of scaling all children when the parent gets a WM_DPICHANGED message, we scale each individual child in the child's WM_DPICHANGED_AFTERPARENT message. Task-number: QTBUG-103383 Pick-to: 6.4 Change-Id: Ia0845aa19a3bb97b7bc9e7d9554ac02b95ca65a5 Reviewed-by: Volker Hilsheimer <>
Diffstat (limited to 'examples/widgets/dialogs/tabdialog/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions