From 70b8f0560838adc857e74b7fc6f7750fa219d397 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Thu, 19 Sep 2019 21:29:10 +0700 Subject: fixed layout --- features/OnboardingForm.ui.qml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'features') diff --git a/features/OnboardingForm.ui.qml b/features/OnboardingForm.ui.qml index 90c3dd8..c23daf2 100644 --- a/features/OnboardingForm.ui.qml +++ b/features/OnboardingForm.ui.qml @@ -25,15 +25,15 @@ Page { anchors.leftMargin: 0 background: Rectangle { - color: "#9AFAFAFA" + color: "#9AFFFFFF" } RowLayout { anchors.fill: parent Image { id: logoImage - width: 100 - height: 24 + Layout.preferredHeight: 24 + Layout.preferredWidth: 100 fillMode: Image.PreserveAspectFit Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.fillWidth: false @@ -45,19 +45,14 @@ Page { StackView { id: contentView - anchors.top: toolBar.bottom - anchors.right: parent.right - anchors.bottom: parent.bottom - anchors.left: parent.left - anchors.topMargin: 0 + anchors.fill: parent z: -1 Image { id: onboardingImage anchors.bottom: onboardingText1.top anchors.bottomMargin: 32 - anchors.top: parent.top - anchors.topMargin: 32 + anchors.topMargin: 32 + toolBar.height anchors.right: parent.right anchors.rightMargin: 64 anchors.left: parent.left @@ -96,7 +91,6 @@ Page { RoundButton { id: loginButton - y: 406 flat: true highlighted: false Material.foreground: Material.primary -- cgit v1.2.3