Hi,
When there are some updates,the kpackagekitSmartIcon will give a update
notification in systemtray.Now the buttons and text overlay in the
popupapplet.The reason is as following.Before showing the popup applet
the variable bodyHeight is small than expected because it didn't set the
textWidth when the popup applet contains image.The patch is in attachment.
--- kdebase-workspace-4.3.3/plasma/applets/systemtray/ui/notificationwidget.cpp	2009-12-23 13:37:30.422031262 +0800
+++ kdebase-workspace-4.3.3-new/plasma/applets/systemtray/ui/notificationwidget.cpp	2009-12-23 13:42:06.637952800 +0800
@@ -226,6 +226,7 @@
     qreal imageHeight = 0;
     if (!notification->image().isNull()) {
         imageHeight = notification->image().size().height();
+        body->setTextWidth(q->preferredWidth() - notification->image().size().width() - 4);
     }
 
     extenderItem->showCloseButton();

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to