From d985c9eecc7f34bddc4402be26dd3de6f41ae17c Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Thu, 16 Mar 2023 15:10:42 +0100 Subject: [PATCH] qml: use InfoTextArea for help text in GenericShareDialog --- electrum/gui/qml/components/GenericShareDialog.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/electrum/gui/qml/components/GenericShareDialog.qml b/electrum/gui/qml/components/GenericShareDialog.qml index 734c597ef..edab35c96 100644 --- a/electrum/gui/qml/components/GenericShareDialog.qml +++ b/electrum/gui/qml/components/GenericShareDialog.qml @@ -57,6 +57,7 @@ ElDialog { Layout.leftMargin: constants.paddingMedium Layout.rightMargin: constants.paddingMedium Layout.fillWidth: true + visible: dialog.text Label { width: parent.width text: dialog.text @@ -68,15 +69,13 @@ ElDialog { } } - Label { + InfoTextArea { Layout.leftMargin: constants.paddingMedium Layout.rightMargin: constants.paddingMedium visible: dialog.text_help text: dialog.text_help - wrapMode: Text.Wrap Layout.fillWidth: true } - } }