diff options
author | Anatasof Wirapraja <anata@darapsa.co.id> | 2020-12-02 16:54:15 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anata@darapsa.co.id> | 2020-12-02 16:54:15 +0700 |
commit | 9fef42ac006e3ed1f2fb3180e4ae39c60d0ba7dc (patch) | |
tree | b0c20cdd2abb564a87302d8d96d6730a72dae84f /OnboardingForm.ui.qml | |
parent | efc087fa847bcd87514e7da824951871e065dc4e (diff) |
add disclaimer text
Diffstat (limited to 'OnboardingForm.ui.qml')
-rw-r--r-- | OnboardingForm.ui.qml | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/OnboardingForm.ui.qml b/OnboardingForm.ui.qml index 2b90394..536424c 100644 --- a/OnboardingForm.ui.qml +++ b/OnboardingForm.ui.qml @@ -1,6 +1,6 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 -import QtQuick.Layouts 1.3 +import QtQuick.Layouts 1.12 import QtQuick.Controls.Material 2.3 StackView { @@ -8,10 +8,12 @@ StackView { property alias onboardingImage: onboardingImage property alias onboardingText1: onboardingText1 property alias onboardingText2: onboardingText2 + property alias disclaimerText: disclaimerText property alias startButton: startButton - initialItem: Page { + Page { id: page + anchors.fill: parent title: qsTr("Onboarding") ToolBar { @@ -72,8 +74,8 @@ StackView { anchors.left: parent.left anchors.leftMargin: 16 font.pointSize: 24 - font.family: "Work Sans" - font.weight: Font.Bold + font.family: "Roboto Mono" + font.weight: Font.Black } Text { @@ -88,7 +90,7 @@ StackView { anchors.left: parent.left anchors.leftMargin: 16 font.pointSize: 16 - font.family: "WorkSans" + font.family: "Roboto" font.weight: Font.Normal } @@ -101,10 +103,28 @@ StackView { anchors.rightMargin: 8 anchors.left: parent.left anchors.leftMargin: 8 - anchors.bottom: parent.bottom + anchors.bottom: disclaimerText.top + font.weight: Font.Medium anchors.bottomMargin: 16 font.capitalization: Font.MixedCase - font.family: "Work Sans" + font.family: "Roboto Mono" + } + Text { + id: disclaimerText + color: "#99000000" + text: qsTr("disclaimer text") + anchors.left: parent.left + anchors.right: parent.right + anchors.bottom: parent.bottom + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + wrapMode: Text.WordWrap + font.weight: Font.Normal + font.pointSize: 10 + font.family: "Roboto Mono" + anchors.rightMargin: 24 + anchors.leftMargin: 24 + anchors.bottomMargin: 16 } } } |