Read "Stretch Factor" under "Layout Management" in Qt Assistant.
Assuming a splitter with two widgets (0, 1):
splitter->setStretchFactor(0, 3); // widget gets 3 out of 4 width/height units
splitter->setStretchFactor(1, 1); // widget gets 1 out of 4 width/height units
splitter->setStretchFactor(0, 3); // widget gets 3 out of 4 width/height units
splitter->setStretchFactor(1, 1); // widget gets 1 out of 4 width/height units
To copy to clipboard, switch view to plain text mode
Neither widget will shrink below its minimum size though.
Bookmarks