1
mirror of https://github.com/monero-project/monero-gui synced 2025-01-04 20:26:23 +01:00

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: {