From 95467e4c7b848276def988d3784a37fabd5c0991 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: Sat, 18 Feb 2023 18:21:40 +0800 Subject: Edit profile username --- InstructorEditProfile.ui.qml | 57 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/InstructorEditProfile.ui.qml b/InstructorEditProfile.ui.qml index d695b77..865d04d 100644 --- a/InstructorEditProfile.ui.qml +++ b/InstructorEditProfile.ui.qml @@ -220,7 +220,62 @@ Flickable { } } - RowLayout { + Rectangle { + Layout.fillWidth: true + implicitHeight: userName.height + radius: 5.2 + border { + width: 1 + color: "#dde0e3" + } + + Label { + id: domainName + text: "Eduport.com" + height: userName.height + width: parent.width / 2 + anchors.left: parent.left + verticalAlignment: Text.AlignVCenter + topPadding: 6 + leftPadding: 12 + rightPadding: 12 + bottomPadding: 6 + background: Rectangle { + color: "#e9ecef" + } + font { + family: doesntEmbed ? "Roboto" : regular.name + pointSize: 15 + } + } + + Rectangle { + width: 1 + height: userName.height + anchors.horizontalCenter: parent.horizontalCenter + border { + width: .5 + color: "#88dde0e3" + } + } + + TextField { + id: userName + text: "loristev" + width: parent.width / 2 + anchors.right: parent.right + topPadding: 8 + leftPadding: 16 + rightPadding: 16 + bottomPadding: 8 + background: Rectangle { + color: "transparent" + } + font { + family: doesntEmbed ? "Roboto" : regular.name + pointSize: 15 + } + } } } -- cgit v1.2.3