diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-17 16:44:58 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-17 16:44:58 +0800 |
commit | 82ee8dddae67574891e73c8a26f742192b6bc553 (patch) | |
tree | 6894619d0e434dab0e4b6e20ee3d108a64d5e530 | |
parent | 363e3dbb08eda0ca608d4ff73467c5dcffcf3f1b (diff) |
Fix widths on previous commit
-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 |