Sign page - redesign

This commit is contained in:
Jaquee 2017-08-08 11:08:11 +02:00
parent d834fb419c
commit aded122465

View file

@ -101,14 +101,12 @@ Rectangle {
id: signBox id: signBox
RowLayout { RowLayout {
ColumnLayout {
spacing: 8 Text {
Label { text: qsTr("Sign a message or file contents with your address:") + translationManager.emptyString
text: qsTr("Sign a message or file contents with your address:") + translationManager.emptyString wrapMode: Text.Wrap
fontSize: 16 font.pixelSize: 14 * scaleRatio
wrapMode: Text.Wrap Layout.fillWidth: true
}
Label {}
} }
} }
@ -196,7 +194,6 @@ Rectangle {
id: signFileLine id: signFileLine
anchors.left: loadFileToSignButton.right anchors.left: loadFileToSignButton.right
anchors.right: signFileButton.left anchors.right: signFileButton.left
fontSize: mainLayout.lineEditFontSize
placeholderText: qsTr("Filename with message to sign") + translationManager.emptyString; placeholderText: qsTr("Filename with message to sign") + translationManager.emptyString;
readOnly: false readOnly: false
Layout.fillWidth: true Layout.fillWidth: true
@ -228,7 +225,7 @@ Rectangle {
} }
} }
RowLayout { ColumnLayout {
id: signSignatureRow id: signSignatureRow
anchors.topMargin: 17 * scaleRatio anchors.topMargin: 17 * scaleRatio
@ -261,16 +258,13 @@ Rectangle {
id: verifyBox id: verifyBox
RowLayout { RowLayout {
ColumnLayout { Text {
spacing: 8 text: qsTr("Verify a message or file signature from an address:") + translationManager.emptyString
Label { wrapMode: Text.Wrap
text: qsTr("Verify a message or file signature from an address:") + translationManager.emptyString font.pixelSize: 14 * scaleRatio
fontSize: 16 Layout.fillWidth: true
// Layout.fillWidth: true
wrapMode: Text.Wrap
}
Label {}
} }
} }
Label { Label {
@ -409,7 +403,7 @@ Rectangle {
// validator: RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g } // validator: RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g }
} }
RowLayout { ColumnLayout {
id: verifySignatureRow id: verifySignatureRow
anchors.topMargin: 17 * scaleRatio anchors.topMargin: 17 * scaleRatio