From 655c2ba253efb2101cfbee0bcff053ca539a19a9 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:30:07 +0800 Subject: Edit profile phone number --- InstructorEditProfile.ui.qml | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/InstructorEditProfile.ui.qml b/InstructorEditProfile.ui.qml index c5ba4e4..23e99ec 100644 --- a/InstructorEditProfile.ui.qml +++ b/InstructorEditProfile.ui.qml @@ -345,15 +345,41 @@ Flickable { Layout.fillWidth: true Layout.bottomMargin: 8 text: qsTr("Phone number") - color: - "#747579" + color: "#747579" font { family: doesntEmbed ? "Roboto" : regular.name pointSize: 15 } } - RowLayout { + Rectangle { + Layout.fillWidth: true + implicitHeight: phoneNumber.height + radius: 5.2 + border { + width: 1 + color: "#dde0e3" + } + + TextField { + id: phoneNumber + text: "1234567890" + topPadding: 8 + leftPadding: 16 + rightPadding: 16 + bottomPadding: 8 + anchors { + left: parent.left + right: parent.right + } + background: Rectangle { + color: "transparent" + } + font { + family: doesntEmbed ? "Roboto" : regular.name + pointSize: 15 + } + } } } -- cgit v1.2.3