on xenial help sign in
Fix set of fixes for the margins.
1322cfaMirco Müller
Notifications/Notification.qml+4−5
@@ -39,10 +39,6 @@ Item {
39 objectName: "background"
39 objectName: "background"
40 implicitHeight: type != Notification.PlaceHolder ? (fullscreen ? notificationList.fullHeight : contentColumn.height + contentColumn.spacing * 2) : 0
40 implicitHeight: type != Notification.PlaceHolder ? (fullscreen ? notificationList.fullHeight : contentColumn.height + contentColumn.spacing * 2) : 0
41
41
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−
46 color: Qt.rgba(0.132, 0.117, 0.109, 0.97)
42 color: Qt.rgba(0.132, 0.117, 0.109, 0.97)
47 opacity: 0
43 opacity: 0
48
44
@@ -54,6 +50,9 @@ Item {
54
50
55 visible: !fullscreen
51 visible: !fullscreen
56 anchors.fill: parent
52 anchors.fill: parent
53+ anchors.leftMargin: notificationList.margin
54+ anchors.rightMargin: notificationList.margin
55+ //anchors.topMargin: notificationList.margin
57 color: parent.color
56 color: parent.color
58 opacity: parent.opacity
57 opacity: parent.opacity
59 radius: "medium"
58 radius: "medium"
@@ -70,7 +69,7 @@ Item {
70
69
71 Item {
70 Item {
72 id: contents
71 id: contents
73− anchors.fill: parent
72+ anchors.fill: fullscreen ? nonShapedBack : shapedBack
74
73
75 UnityMenuModelPaths {
74 UnityMenuModelPaths {
76 id: paths
75 id: paths
Shell.qml+1−4
@@ -690,15 +690,12 @@ FocusScope {
690 model: NotificationBackend.Model
690 model: NotificationBackend.Model
691 property real margin: units.gu(1)
691 property real margin: units.gu(1)
692 property real fullHeight: parent.height
692 property real fullHeight: parent.height
693− property real panelHeight: panel.panelHeight
694
693
695 anchors {
694 anchors {
696 top: parent.top
695 top: parent.top
697 right: parent.right
696 right: parent.right
698 bottom: parent.bottom
697 bottom: parent.bottom
699− leftMargin: margin
700− rightMargin: margin
701− topMargin: panel.panelHeight + margin
698+ topMargin: panel.panelHeight
702 }
699 }
703 states: [
700 states: [
704 State {
701 State {