diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-18 09:03:54 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-18 09:03:54 +0800 |
commit | 0219bef26a39424af4c57212fbe259b84e5d0734 (patch) | |
tree | c0d11eae737f9da5a1b12fded5d61820a7bbe21f | |
parent | ce57eb7b0c44feff7be1c6aff02651bc5c0f9e6e (diff) |
Fix the width settings from previous commits
Had forgotten to anchor layouts that are under non layouts.
-rw-r--r-- | InstructorEditProfile.ui.qml | 14 |
1 files 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 |