diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-11-27 10:26:03 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-11-27 10:26:03 -0600 |
| commit | d5f4d5d93fa52876dc1fef591ea0210eab561d48 (patch) | |
| tree | c66167d1e7b60183f905d0547ceb288752a86248 /wizard/WizardOpenWallet1.qml | |
| parent | 9ba1960207263f9ef1fb49a39910998c33fc4fe4 (diff) | |
| parent | f47335f89fcb0504064f99a68a179c31c24467b9 (diff) | |
| download | monzero-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 'wizard/WizardOpenWallet1.qml')
| -rw-r--r-- | wizard/WizardOpenWallet1.qml | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/wizard/WizardOpenWallet1.qml b/wizard/WizardOpenWallet1.qml index e0d93a05..466accf2 100644 --- a/wizard/WizardOpenWallet1.qml +++ b/wizard/WizardOpenWallet1.qml @@ -198,7 +198,7 @@ Rectangle { Layout.fillWidth: true } - TextArea { + Text { text: { // truncate on window width var maxLength = wizardController.layoutScale <= 1 ? 12 : 16 @@ -214,19 +214,13 @@ Rectangle { color: MoneroComponents.Style.defaultFontColor font.pixelSize: 16 - selectionColor: MoneroComponents.Style.dimmedFontColor - selectedTextColor: MoneroComponents.Style.defaultFontColor - - selectByMouse: false wrapMode: Text.WordWrap - textMargin: 0 leftPadding: 0 topPadding: networktype !== -1 ? 8 : 4 bottomPadding: 0 - readOnly: true } - TextArea { + Text { visible: networktype !== -1 Layout.preferredHeight: 24 Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter @@ -236,16 +230,10 @@ Rectangle { color: MoneroComponents.Style.dimmedFontColor font.pixelSize: 14 - selectionColor: MoneroComponents.Style.textSelectionColor - selectedTextColor: MoneroComponents.Style.textSelectedColor - - selectByMouse: false wrapMode: Text.WordWrap - textMargin: 0 leftPadding: 0 topPadding: 0 bottomPadding: 0 - readOnly: true } Item { |
