Prettifying plasmoid

Text is no longer over the dismiss button but wrapped in two lines
This commit is contained in:
Albert Vaca 2013-09-06 21:12:14 +02:00
parent fe6a0a8978
commit bb825fed8d

View file

@ -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