diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-20 18:58:39 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-20 18:58:39 +0700 |
commit | b89fc17e9c119e13fa983ccb36bc7370b772508f (patch) | |
tree | 0b9c5b772fc71a89f6e981a4da507a6353d81aac /Login.qml | |
parent | 7fbbbcdf1aede34f1e4a0221c7154a03528dc143 (diff) |
add `footer`
Diffstat (limited to 'Login.qml')
-rw-r--r-- | Login.qml | 50 |
1 files changed, 48 insertions, 2 deletions
@@ -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} +} +##^##*/ |