qml: use InfoTextArea for help text in GenericShareDialog
This commit is contained in:
@@ -57,6 +57,7 @@ ElDialog {
|
|||||||
Layout.leftMargin: constants.paddingMedium
|
Layout.leftMargin: constants.paddingMedium
|
||||||
Layout.rightMargin: constants.paddingMedium
|
Layout.rightMargin: constants.paddingMedium
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
visible: dialog.text
|
||||||
Label {
|
Label {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: dialog.text
|
text: dialog.text
|
||||||
@@ -68,15 +69,13 @@ ElDialog {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
InfoTextArea {
|
||||||
Layout.leftMargin: constants.paddingMedium
|
Layout.leftMargin: constants.paddingMedium
|
||||||
Layout.rightMargin: constants.paddingMedium
|
Layout.rightMargin: constants.paddingMedium
|
||||||
visible: dialog.text_help
|
visible: dialog.text_help
|
||||||
text: dialog.text_help
|
text: dialog.text_help
|
||||||
wrapMode: Text.Wrap
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user