on xenial help sign in
Notifications should be on right side when wide. (LP: 1379384)
07eb810Ying-Chun Liu
qml/Shell.qml+10−2
@@ -717,12 +717,20 @@ Item {
717 State {
717 State {
718 name: "narrow"
718 name: "narrow"
719 when: overlay.width <= units.gu(60)
719 when: overlay.width <= units.gu(60)
720+ AnchorChanges {
721+ target: notifications
720− AnchorChanges { target: notifications; anchors.left: parent.left }
722+ anchors.left: parent.left
723+ anchors.right: undefined
724+ }
721 },
725 },
722 State {
726 State {
723 name: "wide"
727 name: "wide"
724 when: overlay.width > units.gu(60)
728 when: overlay.width > units.gu(60)
729+ AnchorChanges {
730+ target: notifications
725− AnchorChanges { target: notifications; anchors.left: undefined }
731+ anchors.left: undefined
732+ anchors.right: parent.right
733+ }
726 PropertyChanges { target: notifications; width: units.gu(38) }
734 PropertyChanges { target: notifications; width: units.gu(38) }
727 }
735 }
728 ]
736 ]