This issue complements issue #83 .
Here, the GUI layout is distorted when display settings on Windows (the layout or item sizes) are changed after the GUI is already launched.
Setting DPI Unawareness for Windows, or even System-wide DPI awareness (rather than the default Per-monitor awareness) did not do the trick - at least we could not retain the GUI resolution that way windows_api
Enabling High DPI at the Qt level also did not do the trick as the layout persisted to be distorted.
This was tested with Qt version 5.13 - there were some updates regarding the respective screen DPI functions in version 5.14 (reference) which could be tried out at some point.
Nevertheless in theory, the following workflow could also be attempted:
The scale size change could be captured using this signal in QScreen docs
Upon catching this change, the widgets are scaled appropriately (preferably automatically, or worst-case manually)
This issue complements issue #83 . Here, the GUI layout is distorted when display settings on Windows (the layout or item sizes) are changed after the GUI is already launched.
This was tested with Qt version 5.13 - there were some updates regarding the respective screen DPI functions in version 5.14 (reference) which could be tried out at some point.
Nevertheless in theory, the following workflow could also be attempted:
QScreen
docs