summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-18 09:03:54 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-18 09:03:54 +0800
commit0219bef26a39424af4c57212fbe259b84e5d0734 (patch)
treec0d11eae737f9da5a1b12fded5d61820a7bbe21f
parentce57eb7b0c44feff7be1c6aff02651bc5c0f9e6e (diff)
Fix the width settings from previous commits
Had forgotten to anchor layouts that are under non layouts.
-rw-r--r--InstructorEditProfile.ui.qml14
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