summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-15 20:08:46 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-15 20:08:46 +0700
commit95ec6276814db1f440d10938fa9db98e62a0a237 (patch)
tree47dc5fac4528925a88effaa5aefa8d5dee6e5f2f /pages
parent9e801c23c694ec03223593fd5dba627c3a9e6982 (diff)
userEmail use RowLayout
Diffstat (limited to 'pages')
-rw-r--r--pages/PasswordForm.ui.qml39
1 files changed, 22 insertions, 17 deletions
diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml
index 887bf01..ac084c1 100644
--- a/pages/PasswordForm.ui.qml
+++ b/pages/PasswordForm.ui.qml
@@ -63,25 +63,31 @@ 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.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"
@@ -124,10 +130,9 @@ Rectangle {
}
}
-
-
-
-/*##^## Designer {
+/*##^##
+Designer {
D{i:0;autoSize:true;height:480;width:640}
}
- ##^##*/
+##^##*/
+