From 2127dd61cda7dcb65b4edd51556158a8e79b0795 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Wed, 12 Apr 2023 18:30:01 +0800 Subject: Just use (BS) Label now instead of Body --- Instructor/EditProfile.ui.qml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'Instructor') diff --git a/Instructor/EditProfile.ui.qml b/Instructor/EditProfile.ui.qml index 5500bb7..a6d7a21 100644 --- a/Instructor/EditProfile.ui.qml +++ b/Instructor/EditProfile.ui.qml @@ -79,10 +79,11 @@ Flickable { Layout.leftMargin: 12.8 Layout.rightMargin: 12.8 - Lbl.Body { + Label { Layout.fillWidth: true Layout.bottomMargin: 8 text: qsTr("Profile picture") + wrapMode: Label.Wrap } RowLayout { @@ -135,10 +136,11 @@ Flickable { Layout.leftMargin: 12.8 Layout.rightMargin: 12.8 - Lbl.Body { + Label { Layout.fillWidth: true Layout.bottomMargin: 8 text: qsTr("Full name") + wrapMode: Label.Wrap } Rectangle { @@ -189,10 +191,11 @@ Flickable { Layout.leftMargin: 12.8 Layout.rightMargin: 12.8 - Lbl.Body { + Label { Layout.fillWidth: true Layout.bottomMargin: 8 text: qsTr("Username") + wrapMode: Label.Wrap } Rectangle { @@ -205,7 +208,7 @@ Flickable { color: Eduport.bsGray300 } - Lbl.Body { + Label { id: domainName text: "Eduport.com" height: userName.height @@ -217,6 +220,7 @@ Flickable { rightPadding: 12 bottomPadding: 6 color: Eduport.bsBodyColor + wrapMode: Label.Wrap background: Rectangle { color: Eduport.bsTertiaryBg } @@ -248,10 +252,11 @@ Flickable { Layout.leftMargin: 12.8 Layout.rightMargin: 12.8 - Lbl.Body { + Label { Layout.fillWidth: true Layout.bottomMargin: 8 text: qsTr("Email id") + wrapMode: Label.Wrap } TxtFld.Input { @@ -267,10 +272,11 @@ Flickable { Layout.leftMargin: 12.8 Layout.rightMargin: 12.8 - Lbl.Body { + Label { Layout.fillWidth: true Layout.bottomMargin: 8 text: qsTr("Phone number") + wrapMode: Label.Wrap } TxtFld.Input { @@ -286,10 +292,11 @@ Flickable { Layout.leftMargin: 12.8 Layout.rightMargin: 12.8 - Lbl.Body { + Label { Layout.fillWidth: true Layout.bottomMargin: 8 text: qsTr("Location") + wrapMode: Label.Wrap } TxtFld.Input { -- cgit v1.3