receive: fix Amount and QR-Code layout

This commit is contained in:
xiphon 2018-10-27 12:27:18 +00:00
parent 3aa6da058a
commit 12a3d687c6

View File

@ -443,7 +443,7 @@ Rectangle {
Layout.fillWidth: true Layout.fillWidth: true
Layout.minimumWidth: 200 Layout.minimumWidth: 200
Layout.maximumWidth: mainLayout.qrCodeSize spacing: parent.spacing
LineEdit { LineEdit {
id: amountToReceiveLine id: amountToReceiveLine
@ -456,11 +456,10 @@ Rectangle {
regExp: /(\d{1,8})([.]\d{1,12})?$/ regExp: /(\d{1,8})([.]\d{1,12})?$/
} }
} }
}
Rectangle { Rectangle {
color: "white" color: "white"
Layout.topMargin: parent.spacing - 4
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: mainLayout.qrCodeSize Layout.maximumWidth: mainLayout.qrCodeSize
Layout.preferredHeight: width Layout.preferredHeight: width
@ -497,6 +496,7 @@ Rectangle {
} }
} }
} }
}
ColumnLayout { ColumnLayout {
id: trackingRow id: trackingRow