mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +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 text: input.text
|
||||||
property alias validator: input.validator
|
property alias validator: input.validator
|
||||||
property alias readOnly : input.readOnly
|
property alias readOnly : input.readOnly
|
||||||
|
property alias cursorPosition: input.cursorPosition
|
||||||
property int fontSize: 18
|
property int fontSize: 18
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,8 @@ Rectangle {
|
||||||
readOnly: true
|
readOnly: true
|
||||||
width: mainLayout.editWidth
|
width: mainLayout.editWidth
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
onTextChanged: cursorPosition = 0
|
||||||
|
|
||||||
IconButton {
|
IconButton {
|
||||||
imageSource: "../images/copyToClipboard.png"
|
imageSource: "../images/copyToClipboard.png"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
@ -115,6 +117,9 @@ Rectangle {
|
||||||
readOnly: true
|
readOnly: true
|
||||||
width: mainLayout.editWidth
|
width: mainLayout.editWidth
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
|
onTextChanged: cursorPosition = 0
|
||||||
|
|
||||||
IconButton {
|
IconButton {
|
||||||
imageSource: "../images/copyToClipboard.png"
|
imageSource: "../images/copyToClipboard.png"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
Loading…
Reference in a new issue