diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-15 21:33:57 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-15 21:33:57 +0800 |
| commit | 380c349961d9ec18924b8bda1626b1a68883e245 (patch) | |
| tree | b994703b71eb49a74193f7ad6df34b66881b6d94 /pages/PasswordForm.ui.qml | |
| parent | d4bb75b2e5e11c3ac2b0393a0ef103f7d40dad86 (diff) | |
| parent | bc1956d78c88ef31824a915134f5cdd56fb08914 (diff) | |
Merge remote-tracking branch 'github/development'
Diffstat (limited to 'pages/PasswordForm.ui.qml')
| -rw-r--r-- | pages/PasswordForm.ui.qml | 81 |
1 files changed, 50 insertions, 31 deletions
diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml index 887bf01..8936ccd 100644 --- a/pages/PasswordForm.ui.qml +++ b/pages/PasswordForm.ui.qml @@ -63,48 +63,68 @@ Rectangle { font.pointSize: 34 } - Rectangle { + RowLayout { id: userEmail - height: 48 - anchors.right: parent.right - anchors.rightMargin: 16 - anchors.left: parent.left - anchors.leftMargin: 16 + height: 56 + anchors.horizontalCenterOffset: 0 + anchors.horizontalCenter: parent.horizontalCenter + width: parent.width + spacing: 8 anchors.bottom: passTextField.top anchors.bottomMargin: 16 + Image { + width: 24 + height: 24 + Layout.leftMargin: 16 + Layout.alignment: Qt.AlignVCenter + fillMode: Image.PreserveAspectFit + source: "../assets/email-24px.svg" + antialiasing: true + } + Label { id: emailAddressLabel - anchors.right: parent.right - anchors.rightMargin: 16 - anchors.left: parent.left - anchors.leftMargin: 16 - anchors.verticalCenter: parent.verticalCenter - + Layout.fillWidth: true text: qsTr("your@email.com") + Layout.leftMargin: 24 + Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter font.family: "Google Sans" font.pointSize: 16 color: "#99000000" } } - - TextField { + RowLayout { id: passTextField - y: 501 - font.pointSize: 16 + anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: createPassButton.top anchors.bottomMargin: 16 - font.family: "Google Sans" - Layout.fillWidth: true - placeholderText: qsTr("Password") - anchors.right: parent.right - anchors.rightMargin: 16 - anchors.left: parent.left - anchors.leftMargin: 16 - Layout.maximumHeight: 56 - echoMode: TextInput.Password - } + width: parent.width + spacing: 8 + height: 56 + + Image { + width: 24 + height: 24 + Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter + Layout.leftMargin: 16 + fillMode: Image.PreserveAspectFit + source: "../assets/lock-24px.svg" + antialiasing: true + } + TextField { + Layout.rightMargin: 16 + Layout.leftMargin: 24 + Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter + font.pointSize: 16 + anchors.bottomMargin: 16 + font.family: "Google Sans" + Layout.fillWidth: true + placeholderText: qsTr("Password") + echoMode: TextInput.Password + } + } RoundButton { id: createPassButton x: 34 @@ -124,10 +144,9 @@ Rectangle { } } - - - -/*##^## Designer { +/*##^## +Designer { D{i:0;autoSize:true;height:480;width:640} } - ##^##*/ +##^##*/ + |