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()
|
||||
}
|
||||
delegate: PlasmaComponents.ListItem {
|
||||
id: listitem
|
||||
enabled: true
|
||||
onClicked: checked = !checked
|
||||
|
||||
PlasmaComponents.Label {
|
||||
text: appName + ": " + display
|
||||
anchors.right: dismissButton.left
|
||||
anchors.left: parent.left
|
||||
elide: Text.ElideRight
|
||||
maximumLineCount: 2
|
||||
elide: listitem.checked ? Text.ElideNone : Text.ElideRight
|
||||
maximumLineCount: listitem.checked ? 0 : 1
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
PlasmaComponents.ToolButton {
|
||||
|
|
Loading…
Reference in a new issue