From 21ee389ee2c195ac1895c10c4d5cf9bb3dc1d3f3 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Mon, 20 Mar 2017 10:16:52 +0100 Subject: move positioning anchors out of Notificaion.qml --- components/package/contents/ui/Notification.qml | 5 ----- 1 file changed, 5 deletions(-) (limited to 'components/package/contents/ui/Notification.qml') diff --git a/components/package/contents/ui/Notification.qml b/components/package/contents/ui/Notification.qml index 51f06512..95be52b6 100644 --- a/components/package/contents/ui/Notification.qml +++ b/components/package/contents/ui/Notification.qml @@ -35,11 +35,6 @@ MouseArea { onTriggered: popup.hide() } - anchors { - top: parent.top - horizontalCenter: parent.horizontalCenter - } - width: Math.max(300, message.contentWidth + (Kirigami.Units.largeSpacing * 2)) height: Math.max(50, message.contentHeight + (Kirigami.Units.largeSpacing * 2)) -- cgit v1.2.3