diff options
-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 |