From fc585d38219bf7f0b26146519d590b65e204ea55 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 25 Jan 2019 10:57:43 +0100 Subject: Add doc note about Qt::MSWindowsFixedSizeDialogHint and High DPI Add a note explaining that it should not be used in multi-monitor environments. Task-number: QTBUG-73232 Change-Id: I7b61cef74eac4082efe849b3d5bdbbe5f04fcdbb Reviewed-by: Paul Wicking --- src/corelib/global/qnamespace.qdoc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/corelib/global/qnamespace.qdoc') diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 652efb10bf..5bba8c5fe5 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -2208,6 +2208,12 @@ \value MSWindowsFixedSizeDialogHint Gives the window a thin dialog border on Windows. This style is traditionally used for fixed-size dialogs. + \note The use of this flag is not recommended in multi-monitor + environments. This is because the system will enforce that the window + maintains its native size when moving it across screens. This is + particularly undesirable when using monitors with different + resolutions. + \value MSWindowsOwnDC Gives the window its own display context on Windows. -- cgit v1.2.3