diff options
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 { |
