on xenial help sign in
Changed the way an icon-summary layout is created, due to the position-change of the secondary icon which was used before.
fab9bd9Mirco Müller
qml/Notifications/Notification.qml+2−2
@@ -222,8 +222,8 @@ Item {
222 id: icon
222 id: icon
223
223
224 objectName: "icon"
224 objectName: "icon"
225− width: units.gu(6)
225+ width: type == Notification.Ephemeral && !bodyLabel.visible ? units.gu(3) : units.gu(6)
226− height: units.gu(6)
226+ height: type == Notification.Ephemeral && !bodyLabel.visible ? units.gu(3) : units.gu(6)
227 shaped: notification.hints["x-canonical-non-shaped-icon"] == "true" ? false : true
227 shaped: notification.hints["x-canonical-non-shaped-icon"] == "true" ? false : true
228 visible: iconSource !== undefined && iconSource != ""
228 visible: iconSource !== undefined && iconSource != ""
229 }
229 }