From 80af8d82a2d8ed7c2c3551a3a7e4e4b797cc36ed Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Sat, 31 Aug 2019 09:38:17 +0700 Subject: add previously entered email --- pages/PasswordForm.ui.qml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'pages/PasswordForm.ui.qml') diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml index 96efb37..98c90a2 100644 --- a/pages/PasswordForm.ui.qml +++ b/pages/PasswordForm.ui.qml @@ -37,15 +37,15 @@ Rectangle { Label { x: 16 - y: 398 + y: 232 color: "#2b2626" text: qsTr("Create password") + anchors.bottom: userEmail.top + anchors.bottomMargin: 16 font.letterSpacing: 0.25 lineHeight: 1 font.weight: Font.Bold wrapMode: Text.WordWrap - anchors.bottom: passTextField.top - anchors.bottomMargin: 16 anchors.left: parent.left anchors.leftMargin: 16 anchors.right: parent.right @@ -55,6 +55,30 @@ Rectangle { font.pointSize: 34 } + Rectangle { + id: userEmail + height: 48 + anchors.right: parent.right + anchors.rightMargin: 16 + anchors.left: parent.left + anchors.leftMargin: 16 + anchors.bottom: passTextField.top + anchors.bottomMargin: 16 + + Label { + anchors.right: parent.right + anchors.rightMargin: 16 + anchors.left: parent.left + anchors.leftMargin: 16 + anchors.verticalCenter: parent.verticalCenter + + text: qsTr("your@email.com") + font.family: "Google Sans" + font.pointSize: 16 + color: "#99000000" + } + } + TextField { id: passTextField y: 501 -- cgit v1.2.3