on xenial help sign in
Fix set of fixes for the margins.
commit1322cfa7c5521b590120303bfdc0c126923815b2 authorMirco Müller <mirco.mueller@ubuntu.com> dateFri 25 Oct 2013, 10:46 (13 years ago) parentcd80588
2 files changed+5−9
Notifications/Notification.qml+4−5 Shell.qml+1−4
Notifications/Notification.qml+4−5
@@ -39,10 +39,6 @@ Item {
3939 objectName: "background"
4040 implicitHeight: type != Notification.PlaceHolder ? (fullscreen ? notificationList.fullHeight : contentColumn.height + contentColumn.spacing * 2) : 0
4141
42− //parent.anchors.leftMargin: fullscreen ? 0 : notificationList.margin
43− //parent.anchors.rightMargin: fullscreen ? 0 : notificationList.margin
44− //parent.anchors.topMargin: fullscreen ? notificationList.panelHeight : notificationList.panelHeight + notificationList.margin
45−
4642 color: Qt.rgba(0.132, 0.117, 0.109, 0.97)
4743 opacity: 0
4844
@@ -54,6 +50,9 @@ Item {
5450
5551 visible: !fullscreen
5652 anchors.fill: parent
53+ anchors.leftMargin: notificationList.margin
54+ anchors.rightMargin: notificationList.margin
55+ //anchors.topMargin: notificationList.margin
5756 color: parent.color
5857 opacity: parent.opacity
5958 radius: "medium"
@@ -70,7 +69,7 @@ Item {
7069
7170 Item {
7271 id: contents
73− anchors.fill: parent
72+ anchors.fill: fullscreen ? nonShapedBack : shapedBack
7473
7574 UnityMenuModelPaths {
7675 id: paths
Shell.qml+1−4
@@ -690,15 +690,12 @@ FocusScope {
690690 model: NotificationBackend.Model
691691 property real margin: units.gu(1)
692692 property real fullHeight: parent.height
693− property real panelHeight: panel.panelHeight
694693
695694 anchors {
696695 top: parent.top
697696 right: parent.right
698697 bottom: parent.bottom
699− leftMargin: margin
700− rightMargin: margin
701− topMargin: panel.panelHeight + margin
698+ topMargin: panel.panelHeight
702699 }
703700 states: [
704701 State {