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

View File

@@ -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"