diff options
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/AddressBook.qml | 10 | ||||
| -rw-r--r-- | pages/settings/SettingsNode.qml | 11 |
2 files changed, 4 insertions, 17 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 diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index bf8cece2..424f51cf 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -119,7 +119,7 @@ Rectangle{ text: qsTr("Local node") + translationManager.emptyString } - TextArea { + Text { id: localNodeArea anchors.top: localNodeHeader.bottom anchors.topMargin: 4 @@ -129,14 +129,11 @@ Rectangle{ font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 15 horizontalAlignment: TextInput.AlignLeft - selectByMouse: false wrapMode: Text.WordWrap; - textMargin: 0 leftPadding: 0 topPadding: 0 text: qsTr("The blockchain is downloaded to your computer. Provides higher security and requires more local storage.") + translationManager.emptyString width: parent.width - (localNodeIcon.width + localNodeIcon.anchors.leftMargin + anchors.leftMargin) - readOnly: true // @TODO: Legacy. Remove after Qt 5.8. // https://stackoverflow.com/questions/41990013 @@ -221,7 +218,7 @@ Rectangle{ text: qsTr("Remote node") + translationManager.emptyString } - TextArea { + Text { id: remoteNodeArea anchors.top: remoteNodeHeader.bottom anchors.topMargin: 4 @@ -230,16 +227,12 @@ Rectangle{ color: MoneroComponents.Style.dimmedFontColor font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 15 - activeFocusOnPress: false horizontalAlignment: TextInput.AlignLeft - selectByMouse: false wrapMode: Text.WordWrap; - textMargin: 0 leftPadding: 0 topPadding: 0 text: qsTr("Uses a third-party server to connect to the Monero network. Less secure, but easier on your computer.") + translationManager.emptyString width: parent.width - (remoteNodeIcon.width + remoteNodeIcon.anchors.leftMargin + anchors.leftMargin) - readOnly: true // @TODO: Legacy. Remove after Qt 5.8. // https://stackoverflow.com/questions/41990013 |
