Originally Posted by jpn Could you consider putting the group boxes into a QStackedWidget? QStackedWidget would take the size hint of both group boxes into consideration. But it won't shrink the top level widget by itself. Layouts won't help with that as the dialog is not part of any layout.
Forum Rules
Bookmarks