mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
Receive page: display long address from the beginning in TextField
This commit is contained in:
parent
5814c19962
commit
53d3bc4f06
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue