mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-04-03 12:49:04 +00:00
Receive: set maximum length for qr string
This commit is contained in:
parent
2f109d3333
commit
f91e1791fe
1 changed files with 2 additions and 0 deletions
|
@ -346,6 +346,7 @@ Rectangle {
|
||||||
id: txDescriptionInput
|
id: txDescriptionInput
|
||||||
Layout.preferredWidth: 165
|
Layout.preferredWidth: 165
|
||||||
Layout.maximumWidth: 165
|
Layout.maximumWidth: 165
|
||||||
|
maximumLength: 800
|
||||||
topPadding: 7
|
topPadding: 7
|
||||||
leftPadding: 7
|
leftPadding: 7
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
|
@ -393,6 +394,7 @@ Rectangle {
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
color: MoneroComponents.Style.defaultFontColor
|
color: MoneroComponents.Style.defaultFontColor
|
||||||
placeholderText: qsTr("Visible to the sender") + translationManager.emptyString
|
placeholderText: qsTr("Visible to the sender") + translationManager.emptyString
|
||||||
|
maximumLength: 100
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: MoneroComponents.Style.blackTheme ? "transparent" : "white"
|
color: MoneroComponents.Style.blackTheme ? "transparent" : "white"
|
||||||
|
|
Loading…
Reference in a new issue