From 0219bef26a39424af4c57212fbe259b84e5d0734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 18 Feb 2023 09:03:54 +0800 Subject: Fix the width settings from previous commits Had forgotten to anchor layouts that are under non layouts. --- InstructorEditProfile.ui.qml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/InstructorEditProfile.ui.qml b/InstructorEditProfile.ui.qml index 0d3a045..9267a08 100644 --- a/InstructorEditProfile.ui.qml +++ b/InstructorEditProfile.ui.qml @@ -17,6 +17,11 @@ Flickable { ColumnLayout { id: main + anchors { + top: parent.top + left: parent.left + right: parent.right + } RowLayout { @@ -25,7 +30,7 @@ Flickable { Layout.rightMargin: 15 Rectangle { - implicitWidth: editProfile.width + Layout.fillWidth: true implicitHeight: editProfile.height radius: 8 border { @@ -35,9 +40,14 @@ Flickable { ColumnLayout { id: editProfile + anchors { + left: parent.left + right: parent.right + } Label { id: cardHeader + Layout.fillWidth: true text: qsTr("Edit Profile") padding: 16 @@ -53,7 +63,7 @@ Flickable { } Rectangle { - width: cardHeader.width + Layout.fillWidth: true height: 1 border { width: 1 -- cgit v1.2.3