on xenial help sign in
Group anchors.
d2cf9b3Mirco Müller
qml/Notifications/Notification.qml+10−4
@@ -267,9 +267,12 @@ Item {
267
267
268 visible: count > 0
268 visible: count > 0
269
269
270+ anchors {
271+ left: parent.left
270− anchors.left: parent.left; anchors.right: parent.right
272+ right: parent.right
271− anchors.top: fullscreen ? parent.top : undefined
273+ top: fullscreen ? parent.top : undefined
272− anchors.bottom: fullscreen ? parent.bottom : undefined
274+ bottom: fullscreen ? parent.bottom : undefined
275+ }
273
276
274 Repeater {
277 Repeater {
275 model: unityMenuModel
278 model: unityMenuModel
@@ -277,7 +280,10 @@ Item {
277 NotificationMenuItemFactory {
280 NotificationMenuItemFactory {
278 id: menuItemFactory
281 id: menuItemFactory
279
282
283+ anchors {
284+ left: dialogColumn.left
280− anchors.left: dialogColumn.left; anchors.right: dialogColumn.right
285+ right: dialogColumn.right
286+ }
281
287
282 menuModel: unityMenuModel
288 menuModel: unityMenuModel
283 menuData: model
289 menuData: model