Prettifying plasmoid
Text is no longer over the dismiss button but wrapped in two lines
This commit is contained in:
parent
fe6a0a8978
commit
8390a62de6
1 changed files with 6 additions and 0 deletions
|
@ -60,8 +60,14 @@ PlasmaComponents.ListItem
|
||||||
delegate: PlasmaComponents.ListItem {
|
delegate: PlasmaComponents.ListItem {
|
||||||
PlasmaComponents.Label {
|
PlasmaComponents.Label {
|
||||||
text: appName + ": " + display
|
text: appName + ": " + display
|
||||||
|
anchors.right: dismissButton.left
|
||||||
|
anchors.left: parent.left
|
||||||
|
elide: Text.ElideRight
|
||||||
|
maximumLineCount: 2
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
PlasmaComponents.ToolButton {
|
PlasmaComponents.ToolButton {
|
||||||
|
id: dismissButton
|
||||||
visible: notificationsModel.isAnyDimissable;
|
visible: notificationsModel.isAnyDimissable;
|
||||||
enabled: dismissable
|
enabled: dismissable
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
Loading…
Reference in a new issue