Receive: set maximum length for qr string

This commit is contained in:
selsta 2021-10-21 02:28:21 +02:00
parent 2f109d3333
commit f91e1791fe
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -346,6 +346,7 @@ Rectangle {
id: txDescriptionInput
Layout.preferredWidth: 165
Layout.maximumWidth: 165
maximumLength: 800
topPadding: 7
leftPadding: 7
font.pixelSize: 14
@ -393,6 +394,7 @@ Rectangle {
selectByMouse: true
color: MoneroComponents.Style.defaultFontColor
placeholderText: qsTr("Visible to the sender") + translationManager.emptyString
maximumLength: 100
background: Rectangle {
color: MoneroComponents.Style.blackTheme ? "transparent" : "white"