on xenial help sign in
Group anchors.
commitd2cf9b355e661e5ccc561d41aa5020ba63644d7a authorMirco Müller <mirco.mueller@ubuntu.com> dateFri 4 Jul 2014, 11:59 (12 years ago) parent0bba96f
1 file changed+10−4
qml/Notifications/Notification.qml+10−4
qml/Notifications/Notification.qml+10−4
@@ -267,9 +267,12 @@ Item {
267267
268268 visible: count > 0
269269
270− anchors.left: parent.left; anchors.right: parent.right
271− anchors.top: fullscreen ? parent.top : undefined
272− anchors.bottom: fullscreen ? parent.bottom : undefined
270+ anchors {
271+ left: parent.left
272+ right: parent.right
273+ top: fullscreen ? parent.top : undefined
274+ bottom: fullscreen ? parent.bottom : undefined
275+ }
273276
274277 Repeater {
275278 model: unityMenuModel
@@ -277,7 +280,10 @@ Item {
277280 NotificationMenuItemFactory {
278281 id: menuItemFactory
279282
280− anchors.left: dialogColumn.left; anchors.right: dialogColumn.right
283+ anchors {
284+ left: dialogColumn.left
285+ right: dialogColumn.right
286+ }
281287
282288 menuModel: unityMenuModel
283289 menuData: model