on xenial help sign in
Fixed the spacing depending on fullscreen notification or stacked snap-decisions being shown.
df73bd5Mirco Müller
qml/Notifications/Notifications.qml+8
@@ -45,6 +45,14 @@ ListView {
45 maxHeight: notificationList.height
45 maxHeight: notificationList.height
46 margins: notificationList.margin
46 margins: notificationList.margin
47
47
48+ Component.onCompleted: {
49+ if (fullscreen) {
50+ notificationList.spacing = 0
51+ } else {
52+ notificationList.spacing = units.gu(.5)
53+ }
54+ }
55+
48 // make sure there's no opacity-difference between the several
56 // make sure there's no opacity-difference between the several
49 // elements in a notification
57 // elements in a notification
50 layer.enabled: add.running || remove.running || populate.running
58 layer.enabled: add.running || remove.running || populate.running