aboutsummaryrefslogtreecommitdiff
path: root/pages/AddressBook.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-11-27 10:26:03 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-11-27 10:26:03 -0600
commitd5f4d5d93fa52876dc1fef591ea0210eab561d48 (patch)
treec66167d1e7b60183f905d0547ceb288752a86248 /pages/AddressBook.qml
parent9ba1960207263f9ef1fb49a39910998c33fc4fe4 (diff)
parentf47335f89fcb0504064f99a68a179c31c24467b9 (diff)
downloadmonzero-gui-d5f4d5d93fa52876dc1fef591ea0210eab561d48.tar.gz
monzero-gui-d5f4d5d93fa52876dc1fef591ea0210eab561d48.tar.xz
monzero-gui-d5f4d5d93fa52876dc1fef591ea0210eab561d48.zip
Merge pull request #2506
f47335f Wizard, AddressBook, SettingsNode: prevent undesired text selection (xiphon)
Diffstat (limited to 'pages/AddressBook.qml')
-rw-r--r--pages/AddressBook.qml10
1 files changed, 2 insertions, 8 deletions
diff --git a/pages/AddressBook.qml b/pages/AddressBook.qml
index 6c910f4c..caaf9d5d 100644
--- a/pages/AddressBook.qml
+++ b/pages/AddressBook.qml
@@ -67,21 +67,18 @@ Rectangle {
spacing: 0
Layout.fillWidth: true
- TextArea {
+ Text {
id: titleLabel
Layout.fillWidth: true
color: MoneroComponents.Style.defaultFontColor
font.family: MoneroComponents.Style.fontRegular.name
font.pixelSize: 32
horizontalAlignment: TextInput.AlignLeft
- selectByMouse: false
wrapMode: Text.WordWrap;
- textMargin: 0
leftPadding: 0
topPadding: 0
text: qsTr("Save your most used addresses here") + translationManager.emptyString
width: parent.width
- readOnly: true
// @TODO: Legacy. Remove after Qt 5.8.
// https://stackoverflow.com/questions/41990013
@@ -91,20 +88,17 @@ Rectangle {
}
}
- TextArea {
+ Text {
Layout.fillWidth: true
color: MoneroComponents.Style.dimmedFontColor
font.family: MoneroComponents.Style.fontRegular.name
font.pixelSize: 16
horizontalAlignment: TextInput.AlignLeft
- selectByMouse: false
wrapMode: Text.WordWrap;
- textMargin: 0
leftPadding: 0
topPadding: 0
text: qsTr("This makes it easier to send or receive Monero and reduces errors when typing in addresses manually.") + translationManager.emptyString
width: parent.width
- readOnly: true
// @TODO: Legacy. Remove after Qt 5.8.
// https://stackoverflow.com/questions/41990013