From 8ea7232bfabd1b3a0ae82740752c06498db3de38 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Tue, 24 Sep 2019 13:55:53 +0700 Subject: fix anchor --- features/ProfileEditForm.ui.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/features/ProfileEditForm.ui.qml b/features/ProfileEditForm.ui.qml index c6b78c0..e6777d0 100644 --- a/features/ProfileEditForm.ui.qml +++ b/features/ProfileEditForm.ui.qml @@ -18,10 +18,11 @@ Page { background: Rectangle { color: "#FAFFFFFF" } - id: toolBar RowLayout { anchors.fill: parent spacing: 0 + id: toolBar + ToolButton { id: backButton icon.name: "back-button" @@ -62,7 +63,7 @@ Page { height: 80 color: "#196d22e9" radius: 100 - anchors.top: toolBar.bottom + anchors.top: parent.top anchors.topMargin: 32 anchors.horizontalCenter: parent.horizontalCenter border.width: 0 @@ -70,9 +71,9 @@ Page { RowLayout { id: fullnameRowLayout height: 56 - anchors.horizontalCenter: parent.horizontalCenter anchors.top: avatarLayout.bottom anchors.topMargin: 32 + anchors.horizontalCenter: parent.horizontalCenter width: parent.width Image { -- cgit v1.2.3