on xenial help sign in
Fix bottom-margin and hiding of buttons of non-expanded snap-decisions.
commit3e6b250b4e27d37c30e8c2567788ab5104cea7fd authorMirco Müller <mirco.mueller@ubuntu.com> dateTue 29 Oct 2013, 12:43 (13 years ago) parent0a6ea4d
1 file changed+2−2
Notifications/Notification.qml+2−2
Notifications/Notification.qml+2−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) + units.gu(.5) : 0
40+ implicitHeight: type != Notification.PlaceHolder ? (fullscreen ? notificationList.fullHeight : contentColumn.height + contentColumn.spacing * 4) : 0
4141
4242 color: Qt.rgba(0.132, 0.117, 0.109, 0.97)
4343 opacity: 0
@@ -284,7 +284,7 @@ Item {
284284 // calculate initial position before Column takes over
285285 y: buttonRow.y + buttonRow.height + contentColumn.spacing
286286
287− visible: notification.type == Notification.SnapDecision
287+ visible: notification.type == Notification.SnapDecision && buttonRow.expanded
288288 height: buttonRow.expanded ? implicitHeight : 0
289289
290290 Repeater {