center the empty extender label, otherwise the "no noticications and no

jobs" label, rare but that can still be seen while dragging can be drawn
over the shadow outside the borders

svn path=/trunk/KDE/kdelibs/; revision=901648
This commit is contained in:
Marco Martin 2008-12-26 12:27:09 +00:00
parent 938b6291fc
commit bfc790f0f5

View File

@ -497,6 +497,7 @@ void ExtenderPrivate::updateEmptyExtenderLabel()
&& !spacerWidget ) {
//add the empty extender label.
emptyExtenderLabel = new Label(q);
emptyExtenderLabel->setAlignment(Qt::AlignCenter);
emptyExtenderLabel->setText(emptyExtenderMessage);
emptyExtenderLabel->setMinimumSize(QSizeF(150, 64));
emptyExtenderLabel->setPreferredSize(QSizeF(200, 64));