From 073491ccb4c79c896f424bf2b130d1747e1dc76a Mon Sep 17 00:00:00 2001 From: "vladimir.kuznetsov" Date: Mon, 25 Mar 2024 21:52:38 +0500 Subject: [PATCH] fixed anchors warning on PageHome --- client/ui/qml/Pages2/PageHome.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/ui/qml/Pages2/PageHome.qml b/client/ui/qml/Pages2/PageHome.qml index 17132fa2..56df0c70 100644 --- a/client/ui/qml/Pages2/PageHome.qml +++ b/client/ui/qml/Pages2/PageHome.qml @@ -62,13 +62,13 @@ PageType { ConnectButton { id: connectButton - anchors.centerIn: parent + Layout.fillHeight: true + Layout.alignment: Qt.AlignCenter } BasicButtonType { - anchors.horizontalCenter: parent.horizontalCenter - anchors.bottom: parent.bottom - anchors.bottomMargin: 34 + Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom + Layout.bottomMargin: 34 leftPadding: 16 rightPadding: 16