I've written an application in Qt Creator and made the UI in the Qt Designer based on landscape mode sceen proportions.
Now I want portrait mode support.
My design consists of a MainWindow and a tabWidget which contains several other widgets in its tabs.
I placed my widgets in layouts. Therefore when I switch to portrait mode the height of my MainWindow gets resized to the new screen size,
but the width is to large and the the app is being cut off at the right edge.
How do I handle this best?
Can I resize the width of my widgets to the screen width using MainWindow::resizeEvent?
Thanks for any hints.