From 15b7fe159f508522e5782535538da63e587dc477 Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 22 Jan 2019 15:10:27 +0100 Subject: [PATCH] layout: fix top margin on various pages --- pages/Mining.qml | 1 + pages/Sign.qml | 1 + pages/TxKey.qml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/Mining.qml b/pages/Mining.qml index c53992c0..8a971273 100644 --- a/pages/Mining.qml +++ b/pages/Mining.qml @@ -40,6 +40,7 @@ Rectangle { ColumnLayout { id: mainLayout anchors.margins: (isMobile)? 17 * scaleRatio : 20 * scaleRatio + anchors.topMargin: 40 * scaleRatio anchors.left: parent.left anchors.top: parent.top anchors.right: parent.right diff --git a/pages/Sign.qml b/pages/Sign.qml index 04e88996..c90ef324 100644 --- a/pages/Sign.qml +++ b/pages/Sign.qml @@ -88,6 +88,7 @@ Rectangle { ColumnLayout { anchors.top: parent.top anchors.margins: (isMobile)? 17 * scaleRatio : 20 * scaleRatio + anchors.topMargin: 40 * scaleRatio anchors.left: parent.left anchors.right: parent.right diff --git a/pages/TxKey.qml b/pages/TxKey.qml index 04da3c65..360d4e3a 100644 --- a/pages/TxKey.qml +++ b/pages/TxKey.qml @@ -46,10 +46,10 @@ Rectangle { ColumnLayout { id: mainLayout anchors.margins: (isMobile)? 17 * scaleRatio : 20 * scaleRatio + anchors.topMargin: 40 * scaleRatio anchors.left: parent.left anchors.top: parent.top anchors.right: parent.right - anchors.bottom: parent.bottom spacing: 20 * scaleRatio // solo