From bfc790f0f5dd9830a7f263863e3d3e1f420af796 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 26 Dec 2008 12:27:09 +0000 Subject: [PATCH] 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 --- extender.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/extender.cpp b/extender.cpp index 6854625b1..d2dd64662 100644 --- a/extender.cpp +++ b/extender.cpp @@ -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));