on xenial help sign in
Still trying to get topMargin to be flush to the panel for fullscreen notifications, but only the first ever works.
e2c7f17Mirco Müller
Notifications/Notification.qml+3−2
@@ -37,12 +37,12 @@ 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 * 3) : 0
40+ implicitHeight: type != Notification.PlaceHolder ? (fullscreen ? notificationList.fullHeight : contentColumn.height + contentColumn.spacing * 2) : 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
44
44
45− clip: true
45+ clip: fullscreen ? false : true
46 visible: type != Notification.PlaceHolder
46 visible: type != Notification.PlaceHolder
47
47
48 UbuntuShape {
48 UbuntuShape {
@@ -61,6 +61,7 @@ Item {
61
61
62 visible: fullscreen
62 visible: fullscreen
63 anchors.fill: parent
63 anchors.fill: parent
64+ anchors.topMargin: -notificationList.spacing
64 color: parent.color
65 color: parent.color
65 opacity: parent.opacity
66 opacity: parent.opacity
66 }
67 }