summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-17 16:44:58 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-17 16:44:58 +0800
commit82ee8dddae67574891e73c8a26f742192b6bc553 (patch)
tree6894619d0e434dab0e4b6e20ee3d108a64d5e530
parent363e3dbb08eda0ca608d4ff73467c5dcffcf3f1b (diff)
Fix widths on previous commit
-rw-r--r--InstructorEditProfile.ui.qml17
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