Inspired by "Expanding Dialog" example I've tried to do something similar, however:
- my hidden content is within a tab.
- the tab should resize vertically (maintain horizontal width)
- the dialog should resize accordingly.
The UI file is here: http://dentharg.pl/photoqueue.ui.
The code within constructor:
ui.setupUi(this);
ui.grpSourceDestination->hide();
ui.tabMain->layout()->setSizeConstraint(QLayout::SetFixedSize);
layout()->setSizeConstraint(QLayout::SetFixedSize());
but of course doesn't work as expected.
Is it at all possible to do such resizable tabwidget/dialog?
Thanks!
Bookmarks