Center content better when displaying info popup with long messages

This commit is contained in:
Christophe Deschamps 2023-10-24 20:27:36 +00:00
parent fa824ac78a
commit 6da24489e6

View file

@ -92,7 +92,7 @@ Rectangle {
Item {
id: content
visible: children.length > 0
Layout.fillHeight: (expandHeight ? true : !dialog.contentIsEmpty)
Layout.fillWidth: true
Layout.topMargin: (showMargins ? titleBar.showBar ? 1 : 2 : 0) * DialogStyle.content.topMargin