Fixed the spacing depending on fullscreen notification or stacked snap-decisions being shown.
commitdf73bd54d72897b1440dc827c56a5709dfe5c87b
authorMirco Müller <mirco.mueller@ubuntu.com>
dateThu 23 Jan 2014, 12:23 (13 years ago)
parent6b263d1
qml/Notifications/Notifications.qml+8
@@ -45,6 +45,14 @@ ListView {
4545 maxHeight: notificationList.height
4646 margins: notificationList.margin
4747
48+ Component.onCompleted: {
49+ if (fullscreen) {
50+ notificationList.spacing = 0
51+ } else {
52+ notificationList.spacing = units.gu(.5)
53+ }
54+ }
55+
4856 // make sure there's no opacity-difference between the several
4957 // elements in a notification
5058 layer.enabled: add.running || remove.running || populate.running