Make it possible to toggle full notification contents by clicking on it
REVIEW: 129087
This commit is contained in:
parent
22358ef3eb
commit
eb31c1e152
1 changed files with 6 additions and 2 deletions
|
@ -130,12 +130,16 @@ PlasmaComponents.ListItem
|
||||||
deviceId: root.device.id()
|
deviceId: root.device.id()
|
||||||
}
|
}
|
||||||
delegate: PlasmaComponents.ListItem {
|
delegate: PlasmaComponents.ListItem {
|
||||||
|
id: listitem
|
||||||
|
enabled: true
|
||||||
|
onClicked: checked = !checked
|
||||||
|
|
||||||
PlasmaComponents.Label {
|
PlasmaComponents.Label {
|
||||||
text: appName + ": " + display
|
text: appName + ": " + display
|
||||||
anchors.right: dismissButton.left
|
anchors.right: dismissButton.left
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
elide: Text.ElideRight
|
elide: listitem.checked ? Text.ElideNone : Text.ElideRight
|
||||||
maximumLineCount: 2
|
maximumLineCount: listitem.checked ? 0 : 1
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
PlasmaComponents.ToolButton {
|
PlasmaComponents.ToolButton {
|
||||||
|
|
Loading…
Reference in a new issue