pile new extenderitems on top

svn path=/trunk/KDE/kdelibs/; revision=1112912
This commit is contained in:
Marco Martin 2010-04-09 13:23:08 +00:00
parent 90a4225a91
commit 43a7dbe1f6

View File

@ -234,7 +234,7 @@ void ExtenderGroupPrivate::addItemToGroup(Plasma::ExtenderItem *item)
if (item->group() == q) {
item->setParentItem(childsWidget);
item->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
layout->addItem(item);
layout->insertItem(0, item);
layout->activate();
childsWidget->resize(childsWidget->size().width(),