Qt 6.11 is out! See what's new in the release
blog
Resize main window and widgets inside it on screen/monitor size change
General and Desktop
1
Posts
1
Posters
599
Views
1
Watching
-
My MainWindows is subclassing QMainWindow.
I have multiple monitors. My mainwindow and widgets inside the main loose their aspect ratio after moving from one screen to other.How can I resize my main window according to new screen size while maintaining the aspect ratio?
I tried following this, it didn't help in my case.
Thanks in advance.
Regards,