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/WizardHeader.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/WizardHeader.qml')
| -rw-r--r-- | wizard/WizardHeader.qml | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/wizard/WizardHeader.qml b/wizard/WizardHeader.qml index 71061a5b..1e10683d 100644 --- a/wizard/WizardHeader.qml +++ b/wizard/WizardHeader.qml @@ -41,7 +41,7 @@ ColumnLayout { spacing: 4 Layout.maximumWidth: wizardController.wizardSubViewWidth - TextArea { + Text { text: title Layout.fillWidth: true font.family: MoneroComponents.Style.fontRegular.name @@ -55,19 +55,13 @@ ColumnLayout { } } - selectionColor: MoneroComponents.Style.textSelectionColor - selectedTextColor: MoneroComponents.Style.textSelectedColor - - selectByMouse: true wrapMode: Text.WordWrap - textMargin: 0 leftPadding: 0 topPadding: 0 bottomPadding: 0 - readOnly: true } - TextArea { + Text { Layout.fillWidth: true Layout.alignment: Qt.AlignCenter visible: parent.subtitle !== "" @@ -84,14 +78,8 @@ ColumnLayout { } } - selectionColor: MoneroComponents.Style.textSelectionColor - selectedTextColor: MoneroComponents.Style.textSelectedColor - - selectByMouse: true wrapMode: Text.WordWrap - textMargin: 0 leftPadding: 0 topPadding: 0 - readOnly: true } } |
