From aded122465a15e0fb4559e171dce6586b6e3a98d Mon Sep 17 00:00:00 2001 From: Jaquee Date: Tue, 8 Aug 2017 11:08:11 +0200 Subject: [PATCH] Sign page - redesign --- pages/Sign.qml | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/pages/Sign.qml b/pages/Sign.qml index 536bda1c..3c57fac7 100644 --- a/pages/Sign.qml +++ b/pages/Sign.qml @@ -101,14 +101,12 @@ Rectangle { id: signBox RowLayout { - ColumnLayout { - spacing: 8 - Label { - text: qsTr("Sign a message or file contents with your address:") + translationManager.emptyString - fontSize: 16 - wrapMode: Text.Wrap - } - Label {} + + Text { + text: qsTr("Sign a message or file contents with your address:") + translationManager.emptyString + wrapMode: Text.Wrap + font.pixelSize: 14 * scaleRatio + Layout.fillWidth: true } } @@ -196,7 +194,6 @@ Rectangle { id: signFileLine anchors.left: loadFileToSignButton.right anchors.right: signFileButton.left - fontSize: mainLayout.lineEditFontSize placeholderText: qsTr("Filename with message to sign") + translationManager.emptyString; readOnly: false Layout.fillWidth: true @@ -228,7 +225,7 @@ Rectangle { } } - RowLayout { + ColumnLayout { id: signSignatureRow anchors.topMargin: 17 * scaleRatio @@ -260,17 +257,14 @@ Rectangle { ColumnLayout { id: verifyBox - RowLayout { - ColumnLayout { - spacing: 8 - Label { - text: qsTr("Verify a message or file signature from an address:") + translationManager.emptyString - fontSize: 16 -// Layout.fillWidth: true - wrapMode: Text.Wrap - } - Label {} + RowLayout { + Text { + text: qsTr("Verify a message or file signature from an address:") + translationManager.emptyString + wrapMode: Text.Wrap + font.pixelSize: 14 * scaleRatio + Layout.fillWidth: true } + } Label { @@ -409,7 +403,7 @@ Rectangle { // validator: RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g } } - RowLayout { + ColumnLayout { id: verifySignatureRow anchors.topMargin: 17 * scaleRatio