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.
commite2c7f177e42d5432a5c64cd2d104b3877f1b4473 authorMirco Müller <mirco.mueller@ubuntu.com> dateMon 28 Oct 2013, 17:13 (13 years ago) parente5db972
1 file changed+3−2
Notifications/Notification.qml+3−2
Notifications/Notification.qml+3−2
@@ -37,12 +37,12 @@ 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 * 3) : 0
40+ implicitHeight: type != Notification.PlaceHolder ? (fullscreen ? notificationList.fullHeight : contentColumn.height + contentColumn.spacing * 2) : 0
4141
4242 color: Qt.rgba(0.132, 0.117, 0.109, 0.97)
4343 opacity: 0
4444
45− clip: true
45+ clip: fullscreen ? false : true
4646 visible: type != Notification.PlaceHolder
4747
4848 UbuntuShape {
@@ -61,6 +61,7 @@ Item {
6161
6262 visible: fullscreen
6363 anchors.fill: parent
64+ anchors.topMargin: -notificationList.spacing
6465 color: parent.color
6566 opacity: parent.opacity
6667 }