Extra properties for components LineEditMulti and RemoteNodeEdit

This commit is contained in:
Sander Ferdinand
2018-07-18 15:00:53 +02:00
parent 15c5269e35
commit 4f4d969416
6 changed files with 103 additions and 59 deletions

View File

@@ -128,7 +128,8 @@ Rectangle {
copyButton: true
addressValidation: false
readOnly: true
wrapAnywhere: false
wrapMode: Text.WordWrap
fontColor: "white"
}
}

View File

@@ -255,6 +255,8 @@ Rectangle {
+ translationManager.emptyString
labelButtonText: qsTr("Resolve") + translationManager.emptyString
placeholderText: "4.. / 8.."
wrapMode: Text.WrapAnywhere
addressValidation: true
onInputLabelLinkActivated: { appWindow.showPageRequest("AddressBook") }
}
@@ -319,17 +321,19 @@ Rectangle {
RowLayout {
// payment id input
LineEdit {
LineEditMulti {
id: paymentIdLine
fontBold: true
labelText: qsTr("Payment ID <font size='2'>( Optional )</font>") + translationManager.emptyString
placeholderText: qsTr("16 or 64 hexadecimal characters") + translationManager.emptyString
Layout.fillWidth: true
wrapMode: Text.WrapAnywhere
addressValidation: false
}
}
RowLayout {
LineEdit {
LineEditMulti {
id: descriptionLine
labelText: qsTr("Description <font size='2'>( Optional )</font>") + translationManager.emptyString
placeholderText: qsTr("Saved to local wallet history") + translationManager.emptyString