Juergen Spitzmueller wrote: > > This must be a bug in qt 4.2.1 as I don't see it with qt 4.1.4 > > Me neither. Qt 4.1.2.
Strange thing is: I still do not see it after upgrading to qt 4.2.1. Georg, could you please nevertheless try if the attached patch helps? Jürgen
Index: src/frontends/qt4/panelstack.C =================================================================== --- src/frontends/qt4/panelstack.C (Revision 15766) +++ src/frontends/qt4/panelstack.C (Arbeitskopie) @@ -104,7 +104,11 @@ void PanelStack::addPanel(QWidget * pane widget_map_[item] = panel; stack_->addWidget(panel); - stack_->setMinimumSize(panel->minimumSize()); + // adjust the stack size to the largest panel + if (panel->minimumWidth() > stack_->minimumWidth()) + stack_->setMinimumWidth(panel->minimumWidth()); + if (panel->minimumHeight() > stack_->minimumHeight()) + stack_->setMinimumHeight(panel->minimumHeight()); }