on xenial help sign in
Work around spacing added by PlaceHolder item at top of ListView.
50c369bMirco Müller
Notifications/Notification.qml+1−2
@@ -37,7 +37,7 @@ Item {
37
37
38 fullscreen: notification.hints["x-canonical-private-fullscreen"] == "true" ? true : false
38 fullscreen: notification.hints["x-canonical-private-fullscreen"] == "true" ? true : false
39 objectName: "background"
39 objectName: "background"
40− implicitHeight: type != Notification.PlaceHolder ? (fullscreen ? notificationList.fullHeight : contentColumn.height + contentColumn.spacing * 2) : 0
40+ implicitHeight: type != Notification.PlaceHolder ? (fullscreen ? notificationList.fullHeight : contentColumn.height + contentColumn.spacing * 2) + units.gu(.5) : 0
41
41
42 color: Qt.rgba(0.132, 0.117, 0.109, 0.97)
42 color: Qt.rgba(0.132, 0.117, 0.109, 0.97)
43 opacity: 0
43 opacity: 0
@@ -61,7 +61,6 @@ Item {
61
61
62 visible: fullscreen
62 visible: fullscreen
63 anchors.fill: parent
63 anchors.fill: parent
64− anchors.topMargin: -notificationList.spacing
65 color: parent.color
64 color: parent.color
66 opacity: parent.opacity
65 opacity: parent.opacity
67 }
66 }
Notifications/Notifications.qml−1
@@ -24,7 +24,6 @@ ListView {
24 objectName: "notificationList"
24 objectName: "notificationList"
25 interactive: false
25 interactive: false
26
26
27− spacing: units.gu(.5)
28 delegate: Notification {
27 delegate: Notification {
29 objectName: "notification" + index
28 objectName: "notification" + index
30 anchors {
29 anchors {