on xenial help sign in
Enforce 2-line limit for body-text as per Design-request. Removed body-text opacity according to Design-request.
d7b50b8Mirco Müller
qml/Notifications/Notification.qml+2−3
@@ -243,7 +243,7 @@ Item {
243 right: parent.right
243 right: parent.right
244 }
244 }
245 fontSize: "medium"
245 fontSize: "medium"
246− color: type == Notification.SnapDecision ? sdFontColor :Theme.palette.selected.backgroundText
246+ color: type == Notification.SnapDecision ? sdFontColor : Theme.palette.selected.backgroundText
247 elide: Text.ElideRight
247 elide: Text.ElideRight
248 }
248 }
249
249
@@ -258,9 +258,8 @@ Item {
258 visible: body != ""
258 visible: body != ""
259 fontSize: "small"
259 fontSize: "small"
260 color: type == Notification.SnapDecision ? sdFontColor : Theme.palette.selected.backgroundText
260 color: type == Notification.SnapDecision ? sdFontColor : Theme.palette.selected.backgroundText
261− opacity: type == Notification.SnapDecision ? 1.0 : 0.6
262 wrapMode: Text.WordWrap
261 wrapMode: Text.WordWrap
263− maximumLineCount: 10
262+ maximumLineCount: 2
264 elide: Text.ElideRight
263 elide: Text.ElideRight
265 }
264 }
266 }
265 }