qml: use InfoTextArea for help text in GenericShareDialog
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user