tesmai4
5th September 2013, 15:28
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 (http://www.qtcentre.org/threads/15337-auto-resize-component-in-main-window-when-main-windows-is-resized) this, it didn't help in my case.
Thanks in advance.
Regards,
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 (http://www.qtcentre.org/threads/15337-auto-resize-component-in-main-window-when-main-windows-is-resized) this, it didn't help in my case.
Thanks in advance.
Regards,