From 8390a62de64f9cd75e9123f532ea863b29d19285 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Fri, 6 Sep 2013 21:12:14 +0200 Subject: [PATCH] Prettifying plasmoid Text is no longer over the dismiss button but wrapped in two lines --- plasmoid/package/contents/ui/DeviceDelegate.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plasmoid/package/contents/ui/DeviceDelegate.qml b/plasmoid/package/contents/ui/DeviceDelegate.qml index cd4784950..0ba38e6b8 100644 --- a/plasmoid/package/contents/ui/DeviceDelegate.qml +++ b/plasmoid/package/contents/ui/DeviceDelegate.qml @@ -60,8 +60,14 @@ PlasmaComponents.ListItem delegate: PlasmaComponents.ListItem { PlasmaComponents.Label { text: appName + ": " + display + anchors.right: dismissButton.left + anchors.left: parent.left + elide: Text.ElideRight + maximumLineCount: 2 + wrapMode: Text.WordWrap } PlasmaComponents.ToolButton { + id: dismissButton visible: notificationsModel.isAnyDimissable; enabled: dismissable anchors.right: parent.right