on xenial help sign in
Change to use anchors on narrow and width on wide.
e080ac6Ying-Chun Liu
qml/Shell.qml+1−2
@@ -746,7 +746,6 @@ Item {
746 margin: units.gu(1)
746 margin: units.gu(1)
747
747
748 y: topmostIsFullscreen ? 0 : panel.panelHeight
748 y: topmostIsFullscreen ? 0 : panel.panelHeight
749− width: parent.width
750 height: parent.height - (topmostIsFullscreen ? 0 : panel.panelHeight)
749 height: parent.height - (topmostIsFullscreen ? 0 : panel.panelHeight)
751
750
752 states: [
751 states: [
@@ -756,7 +755,7 @@ Item {
756 AnchorChanges {
755 AnchorChanges {
757 target: notifications
756 target: notifications
758 anchors.left: parent.left
757 anchors.left: parent.left
759− anchors.right: undefined
758+ anchors.right: parent.right
760 }
759 }
761 },
760 },
762 State {
761 State {