diff options
Diffstat (limited to 'InstructorEditProfile.ui.qml')
-rw-r--r-- | InstructorEditProfile.ui.qml | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/InstructorEditProfile.ui.qml b/InstructorEditProfile.ui.qml index 398b990..4411d11 100644 --- a/InstructorEditProfile.ui.qml +++ b/InstructorEditProfile.ui.qml @@ -25,7 +25,7 @@ Flickable { Layout.rightMargin: 15 Rectangle { - Layout.fillWidth: true + implicitWidth: editProfile.width implicitHeight: editProfile.height radius: 8 border { @@ -35,14 +35,13 @@ Flickable { ColumnLayout { id: editProfile - anchors { - left: parent.left - right: parent.right - } Rectangle { - Layout.fillWidth: true - implicitHeight: cardHeader.height + implicitWidth: + cardHeader.width + implicitHeight: + cardHeader.height + radius: 8 border { width: 1 color: "#1a000000" @@ -52,10 +51,6 @@ Flickable { id: cardHeader text: qsTr("Edit Profile") padding: 16 - anchors { - left: parent.left - right: parent.right - } font { family: doesntEmbed ? "Roboto" : bold.name weight: Font.Bold |