Receive page: display long address from the beginning in TextField

This commit is contained in:
Ilya Kitaev 2016-10-04 02:14:09 +03:00
parent 5814c19962
commit 53d3bc4f06
2 changed files with 6 additions and 0 deletions

View file

@ -33,6 +33,7 @@ Item {
property alias text: input.text
property alias validator: input.validator
property alias readOnly : input.readOnly
property alias cursorPosition: input.cursorPosition
property int fontSize: 18

View file

@ -86,6 +86,8 @@ Rectangle {
readOnly: true
width: mainLayout.editWidth
Layout.fillWidth: true
onTextChanged: cursorPosition = 0
IconButton {
imageSource: "../images/copyToClipboard.png"
onClicked: {
@ -115,6 +117,9 @@ Rectangle {
readOnly: true
width: mainLayout.editWidth
Layout.fillWidth: true
onTextChanged: cursorPosition = 0
IconButton {
imageSource: "../images/copyToClipboard.png"
onClicked: {