on xenial help sign in
Work around spacing added by PlaceHolder item at top of ListView.
commit50c369b57e71ec14b0dd659fa9c23c579976efd7 authorMirco Müller <mirco.mueller@ubuntu.com> dateTue 29 Oct 2013, 12:16 (13 years ago) parente2c7f17
2 files changed+1−3
Notifications/Notification.qml+1−2 Notifications/Notifications.qml−1
Notifications/Notification.qml+1−2
@@ -37,7 +37,7 @@ Item {
3737
3838 fullscreen: notification.hints["x-canonical-private-fullscreen"] == "true" ? true : false
3939 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
4141
4242 color: Qt.rgba(0.132, 0.117, 0.109, 0.97)
4343 opacity: 0
@@ -61,7 +61,6 @@ Item {
6161
6262 visible: fullscreen
6363 anchors.fill: parent
64− anchors.topMargin: -notificationList.spacing
6564 color: parent.color
6665 opacity: parent.opacity
6766 }
Notifications/Notifications.qml−1
@@ -24,7 +24,6 @@ ListView {
2424 objectName: "notificationList"
2525 interactive: false
2626
27− spacing: units.gu(.5)
2827 delegate: Notification {
2928 objectName: "notification" + index
3029 anchors {