on xenial help sign in
Fix bottom-margin and hiding of buttons of non-expanded snap-decisions.
3e6b250Mirco Müller
Notifications/Notification.qml+2−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) + units.gu(.5) : 0
40+ implicitHeight: type != Notification.PlaceHolder ? (fullscreen ? notificationList.fullHeight : contentColumn.height + contentColumn.spacing * 4) : 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
@@ -284,7 +284,7 @@ Item {
284 // calculate initial position before Column takes over
284 // calculate initial position before Column takes over
285 y: buttonRow.y + buttonRow.height + contentColumn.spacing
285 y: buttonRow.y + buttonRow.height + contentColumn.spacing
286
286
287− visible: notification.type == Notification.SnapDecision
287+ visible: notification.type == Notification.SnapDecision && buttonRow.expanded
288 height: buttonRow.expanded ? implicitHeight : 0
288 height: buttonRow.expanded ? implicitHeight : 0
289
289
290 Repeater {
290 Repeater {