Hi!
I have added a QGoupBox to my QVBoxLayout.
The QGroupBox itself also holds a QVBoxLayout.
Qt Code:
box->setLayout(inner); outer->addWidget(box); To copy to clipboard, switch view to plain text mode
In this example, the QPushButtons automatically have "unit" height, but are horizontally expanded to maximum width.
The GroupBox also expands to maximal height, which I do not want.
So, my concern is to find a way, s.t. the group box only takes as much space as it really needs to display its contents, i.e. the two QRadioButtons.
Thank you for your help in advance,
Best regards,
Oliver
Bookmarks