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:
parent
938b6291fc
commit
bfc790f0f5
@ -497,6 +497,7 @@ void ExtenderPrivate::updateEmptyExtenderLabel()
|
|||||||
&& !spacerWidget ) {
|
&& !spacerWidget ) {
|
||||||
//add the empty extender label.
|
//add the empty extender label.
|
||||||
emptyExtenderLabel = new Label(q);
|
emptyExtenderLabel = new Label(q);
|
||||||
|
emptyExtenderLabel->setAlignment(Qt::AlignCenter);
|
||||||
emptyExtenderLabel->setText(emptyExtenderMessage);
|
emptyExtenderLabel->setText(emptyExtenderMessage);
|
||||||
emptyExtenderLabel->setMinimumSize(QSizeF(150, 64));
|
emptyExtenderLabel->setMinimumSize(QSizeF(150, 64));
|
||||||
emptyExtenderLabel->setPreferredSize(QSizeF(200, 64));
|
emptyExtenderLabel->setPreferredSize(QSizeF(200, 64));
|
||||||
|
Loading…
Reference in New Issue
Block a user