qml: add help_text to GenericShareDialog
This commit is contained in:
@@ -11,6 +11,7 @@ ElDialog {
|
|||||||
property string text
|
property string text
|
||||||
property string text_qr
|
property string text_qr
|
||||||
// if text_qr is undefined text will be used
|
// if text_qr is undefined text will be used
|
||||||
|
property string text_help
|
||||||
|
|
||||||
title: ''
|
title: ''
|
||||||
parent: Overlay.overlay
|
parent: Overlay.overlay
|
||||||
@@ -76,9 +77,18 @@ ElDialog {
|
|||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
font.pixelSize: constants.fontSizeLarge
|
font.pixelSize: constants.fontSizeLarge
|
||||||
font.family: FixedFont
|
font.family: FixedFont
|
||||||
|
maximumLineCount: 4
|
||||||
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
visible: dialog.text_help
|
||||||
|
text: dialog.text_help
|
||||||
|
wrapMode: Text.Wrap
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|||||||
Reference in New Issue
Block a user