Commit dc09ed34 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Notifications] Limit notification heading line count

PlasmaExtras.Heading wraps by default but we want to limit this here


(cherry picked from commit 0d491641)
parent 75e81a28
Pipeline #147553 passed with stage
in 9 minutes and 43 seconds
......@@ -85,6 +85,7 @@ RowLayout {
opacity: 0.9
textFormat: Text.PlainText
elide: Text.ElideLeft
maximumLineCount: 2
text: notificationHeading.applicationName + (notificationHeading.originName ? " · " + notificationHeading.originName : "")
}
......@@ -102,6 +103,7 @@ RowLayout {
visible: text !== ""
level: 5
opacity: 0.9
wrapMode: Text.NoWrap
text: generateRemainingText() || agoText
Layout.rightMargin: Math.round(-notificationHeading.spacing / 2)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment