Anybody have any ideas why the layouts aren't allowing me to automatically resize? Thanks!
Anybody have any ideas why the layouts aren't allowing me to automatically resize? Thanks!
I have messed around with the QSizePolicy of the widgets and the resizeMode of the layouts but cannot seem to get these to help me out any. The widgets still do not automatically resize even though they are inside the layouts. Thanks again for your help!
I've edited your method slightly:
Qt Code:
bool MainWindow::createGUI { // QWidget *layoutWidget = new QWidget( mainFrame ); ... }To copy to clipboard, switch view to plain text mode
Does it work now?
Save yourself some pain. Learn C++ before learning Qt.
ToddAtWSU (22nd January 2007)
Thanks that seems to fix it. Why would having that middle widget hurt things? Thanks for your help!
The middle widget doesn't hurt things, it's just unnecessary.
What hurt things, was the fact that you did not apply a layout to the top level widget.
Save yourself some pain. Learn C++ before learning Qt.
Bookmarks