summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-20 19:21:32 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-20 19:21:32 +0700
commitd5d916ce5871a9786dfbeb5f016a6a8558c349cd (patch)
treeebb05ef1690d6b2008b31bd8b8cadc96d5502023
parent37d3c41bed7a1bc2e93ce057013c32e160597477 (diff)
fixed broken files due to previous commits
-rw-r--r--features/LoginEmailForm.ui.qml54
-rw-r--r--features/LoginPasswordForm.ui.qml23
2 files changed, 65 insertions, 12 deletions
diff --git a/features/LoginEmailForm.ui.qml b/features/LoginEmailForm.ui.qml
index d8bcc09..7f57599 100644
--- a/features/LoginEmailForm.ui.qml
+++ b/features/LoginEmailForm.ui.qml
@@ -8,6 +8,7 @@ Page {
title: qsTr("Log in")
property alias emailTextField: emailTextField
+ property alias continueButton: continueButton
Text {
id: pageTitle
@@ -47,8 +48,8 @@ Page {
anchors.rightMargin: 0
anchors.left: parent.left
anchors.leftMargin: 0
- anchors.bottom: parent.bottom
- anchors.bottomMargin: 0
+ anchors.bottom: continueLayout.top
+ anchors.bottomMargin: 16
spacing: 8
height: 56
@@ -78,6 +79,55 @@ Page {
color: "#000000"
}
}
+ RowLayout {
+ id: continueLayout
+ anchors.right: parent.right
+ anchors.rightMargin: 0
+ anchors.left: parent.left
+ anchors.leftMargin: 0
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: 0
+
+ Text {
+ id: disclaimer
+ text: qsTr("By continuing, you are agree to our Terms of Use and Privacy Policy.")
+ Layout.rightMargin: 16
+ Layout.leftMargin: 16
+ font.family: "Roboto"
+ font.pointSize: 12
+ color: "#FA000000"
+ wrapMode: Text.WordWrap
+ verticalAlignment: Text.AlignVCenter
+ rightPadding: 0
+ leftPadding: 0
+ Layout.alignment: Qt.AlignVCenter
+ Layout.fillWidth: true
+ }
+
+ RoundButton {
+ id: continueButton
+ width: 72
+ height: 72
+ Layout.preferredHeight: 64
+ Layout.preferredWidth: 64
+ Layout.minimumHeight: 64
+ Layout.minimumWidth: 64
+ Layout.rightMargin: 0
+ Layout.leftMargin: 0
+ flat: false
+ rightPadding: 0
+ leftPadding: 0
+ bottomPadding: 0
+ topPadding: 0
+ Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
+ Material.background: Material.primary
+ display: AbstractButton.IconOnly
+ icon.name: "arrow-forward-icon"
+ icon.source: "../assets/arrow-forward-24px.svg"
+ highlighted: true
+ enabled: false
+ }
+ }
}
/*##^##
Designer {
diff --git a/features/LoginPasswordForm.ui.qml b/features/LoginPasswordForm.ui.qml
index 69737da..dee7709 100644
--- a/features/LoginPasswordForm.ui.qml
+++ b/features/LoginPasswordForm.ui.qml
@@ -9,6 +9,7 @@ Page {
property alias emailTextLabel: emailTextLabel
property alias passwordTextField: passwordTextField
+ property alias continueButton: continueButton
Text {
id: pageTitle
@@ -62,7 +63,7 @@ Page {
sourceSize.width: 24
Layout.leftMargin: 16
fillMode: Image.PreserveAspectFit
- source: "../assets/email-24px.svg"
+ source: "../../assets/email-24px.svg"
antialiasing: true
}
@@ -85,8 +86,8 @@ Page {
anchors.rightMargin: 0
anchors.left: parent.left
anchors.leftMargin: 0
- anchors.bottom: parent.bottom
- anchors.bottomMargin: 0
+ anchors.bottom: continueLayout.top
+ anchors.bottomMargin: 16
spacing: 8
height: 56
@@ -99,7 +100,7 @@ Page {
sourceSize.width: 24
Layout.leftMargin: 16
fillMode: Image.PreserveAspectFit
- source: "../components/icons/lock-24px.svg"
+ source: "../../assets/lock-24px.svg"
antialiasing: true
}
@@ -120,7 +121,6 @@ Page {
RowLayout {
id: continueLayout
- height: 80
anchors.bottom: parent.bottom
anchors.bottomMargin: 0
anchors.right: parent.right
@@ -146,14 +146,12 @@ Page {
RoundButton {
id: continueButton
- width: 72
- height: 72
Layout.preferredHeight: 64
Layout.preferredWidth: 64
Layout.minimumHeight: 64
Layout.minimumWidth: 64
- Layout.rightMargin: 16
- Layout.leftMargin: 16
+ Layout.rightMargin: 0
+ Layout.leftMargin: 0
flat: false
rightPadding: 0
leftPadding: 0
@@ -163,11 +161,16 @@ Page {
Material.background: Material.primary
display: AbstractButton.IconOnly
icon.name: "arrow-forward-icon"
- icon.source: "../components/icons/arrow-forward-24px.svg"
+ icon.source: "../../assets/arrow-forward-24px.svg"
highlighted: true
enabled: false
}
}
}
+/*##^##
+Designer {
+ D{i:0;autoSize:true;height:480;width:640}
+}
+##^##*/