From 82ee8dddae67574891e73c8a26f742192b6bc553 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: Fri, 17 Feb 2023 16:44:58 +0800 Subject: Fix widths on previous commit --- InstructorEditProfile.ui.qml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'InstructorEditProfile.ui.qml') 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 -- cgit v1.2.3