expanding seems to work better

svn path=/trunk/KDE/kdelibs/; revision=1112625
This commit is contained in:
Marco Martin 2010-04-08 17:32:43 +00:00
parent 892d8ae1c0
commit 2aa0b00d40

View File

@ -56,7 +56,7 @@ ExtenderGroup::ExtenderGroup(Extender *parent, uint groupId)
d->childsWidget->installEventFilter(this); d->childsWidget->installEventFilter(this);
d->scrollWidget->setWidget(d->childsWidget); d->scrollWidget->setWidget(d->childsWidget);
d->layout = new QGraphicsLinearLayout(Qt::Vertical, d->childsWidget); d->layout = new QGraphicsLinearLayout(Qt::Vertical, d->childsWidget);
d->scrollWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding); d->scrollWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
QAction *expand = new QAction(this); QAction *expand = new QAction(this);
expand->setVisible(true); expand->setVisible(true);