Unable to set geometry for two displays with different DPI
Opened this issue · 0 comments
Hi,
when I run the GUI on 1st or 2nd monitor separately, it is resized according to DPI quite well. Then, if I moved the GUI from the monitor with a scaling factor of 125% to 2nd display with 100% scaling factor, it work also well, but if I move it back (to 125%) afterwards -- it makes big margins around the correctly resized content (so the window does not change)
In the command line I have the following warnings:
QWindowsWindow::setGeometry: Unable to set geometry on QWidgetWindow/'ModernWindowClassWindow'. Resulting geometry:
Do you have an idea shat could it be?
The window has a fixed size, Windows 10 system
PS
If "qtmodern.windows.ModernWindow()" is not applied, it works well but with the frame of course
Regards