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.
commitfab9bd981327b0f92b6c7fe190d205aab06f240c authorMirco Müller <mirco.mueller@canonical.com> dateFri 25 Jul 2014, 09:59 (12 years ago) parent844d236
1 file changed+2−2
qml/Notifications/Notification.qml+2−2
qml/Notifications/Notification.qml+2−2
@@ -222,8 +222,8 @@ Item {
222222 id: icon
223223
224224 objectName: "icon"
225− width: units.gu(6)
226− height: units.gu(6)
225+ width: type == Notification.Ephemeral && !bodyLabel.visible ? units.gu(3) : units.gu(6)
226+ height: type == Notification.Ephemeral && !bodyLabel.visible ? units.gu(3) : units.gu(6)
227227 shaped: notification.hints["x-canonical-non-shaped-icon"] == "true" ? false : true
228228 visible: iconSource !== undefined && iconSource != ""
229229 }