Browse Source

qml: add help_text to GenericShareDialog

patch-4
Sander van Grieken 3 years ago
parent
commit
bb8af0cd08
  1. 10
      electrum/gui/qml/components/GenericShareDialog.qml

10
electrum/gui/qml/components/GenericShareDialog.qml

@ -11,6 +11,7 @@ ElDialog {
property string text
property string text_qr
// if text_qr is undefined text will be used
property string text_help
title: ''
parent: Overlay.overlay
@ -76,9 +77,18 @@ ElDialog {
wrapMode: Text.Wrap
font.pixelSize: constants.fontSizeLarge
font.family: FixedFont
maximumLineCount: 4
elide: Text.ElideRight
}
}
Label {
visible: dialog.text_help
text: dialog.text_help
wrapMode: Text.Wrap
Layout.fillWidth: true
}
RowLayout {
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter

Loading…
Cancel
Save