From 4e80ac5138021f9d8ca06fd5833bbf535ae0b5dd Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 25 Mar 2021 15:53:08 +0100 Subject: [PATCH] Use alignment instead of anchors Since it's within a layout, you can't use anchors CURA-8014 --- resources/qml/WelcomePages/WhatsNewContent.qml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/resources/qml/WelcomePages/WhatsNewContent.qml b/resources/qml/WelcomePages/WhatsNewContent.qml index c9c19f1bb0..68be6379d6 100644 --- a/resources/qml/WelcomePages/WhatsNewContent.qml +++ b/resources/qml/WelcomePages/WhatsNewContent.qml @@ -80,12 +80,7 @@ Item Rectangle { - anchors - { - top: parent.top - topMargin: UM.Theme.getSize("default_margin").width / 2 - horizontalCenter: parent.horizontalCenter - } + Layout.alignment: Qt.AlignHCenter color: UM.Theme.getColor("viewport_overlay") Image