mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Merge pull request #1706
12a3d68
receive: fix Amount and QR-Code layout (xiphon)3b36dc9
receive: add Payment URL (xiphon)
This commit is contained in:
commit
0b73229f6c
1 changed files with 41 additions and 31 deletions
|
@ -443,7 +443,7 @@ Rectangle {
|
|||
|
||||
Layout.fillWidth: true
|
||||
Layout.minimumWidth: 200
|
||||
Layout.maximumWidth: mainLayout.qrCodeSize
|
||||
spacing: parent.spacing
|
||||
|
||||
LineEdit {
|
||||
id: amountToReceiveLine
|
||||
|
@ -456,11 +456,10 @@ Rectangle {
|
|||
regExp: /(\d{1,8})([.]\d{1,12})?$/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
color: "white"
|
||||
Layout.topMargin: parent.spacing - 4
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.maximumWidth: mainLayout.qrCodeSize
|
||||
Layout.preferredHeight: width
|
||||
|
@ -496,6 +495,17 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
LineEdit {
|
||||
id: paymentUrl
|
||||
Layout.fillWidth: true
|
||||
labelText: qsTr("Payment URL") + translationManager.emptyString
|
||||
text: makeQRCodeString()
|
||||
onTextUpdated: function() { paymentUrl.cursorPosition = 0; }
|
||||
readOnly: true
|
||||
copyButton: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
|
|
Loading…
Reference in a new issue