1
0

qml MessageDialog: split messages into title and header message. hide header if it is empty.

This commit is contained in:
ThomasV
2023-04-18 14:07:41 +02:00
parent bea41d2098
commit 5e29b94561
10 changed files with 28 additions and 23 deletions

View File

@@ -24,6 +24,7 @@ ElDialog {
ColumnLayout {
ColumnLayout {
visible: text
Layout.margins: constants.paddingMedium
Layout.alignment: Qt.AlignHCenter
TextArea {
@@ -39,7 +40,7 @@ ElDialog {
}
ButtonContainer {
Layout.fillWidth: true
Layout.preferredWidth: dialog.parent.width * 2/3
FlatButton {
Layout.fillWidth: true