From b89fc17e9c119e13fa983ccb36bc7370b772508f Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Fri, 20 Sep 2019 18:58:39 +0700 Subject: add `footer` --- Login.qml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) (limited to 'Login.qml') diff --git a/Login.qml b/Login.qml index 2f0f1c8..edc345b 100644 --- a/Login.qml +++ b/Login.qml @@ -2,6 +2,7 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 import QtQuick.Layouts 1.12 +import "larva/features" Page { header: ToolBar { @@ -22,11 +23,56 @@ Page { } } } + footer: RowLayout { + id: continueLayout + height: 64 + anchors.bottom: parent.bottom + anchors.bottomMargin: 0 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 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 + implicitWidth: 64 + implicitHeight: 64 + Layout.alignment: Qt.AlignRight | 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 + + } + } StackView { id: contentView - anchors.topMargin: 432 anchors.fill: parent - initialItem: LoginEmail{} + initialItem: LoginEmail{ + } } } + +/*##^## +Designer { + D{i:0;autoSize:true;height:480;width:640} +} +##^##*/ -- cgit v1.2.3