Browse Source

qml: use InfoTextArea for help text in GenericShareDialog

master
Sander van Grieken 3 years ago
parent
commit
d985c9eecc
  1. 5
      electrum/gui/qml/components/GenericShareDialog.qml

5
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
}
}
}

Loading…
Cancel
Save