qml: MessagePopup: Make message bounds explicit

This commit is contained in:
Tom Dewey 2024-09-18 15:17:21 +01:00 committed by Tom Dewey
parent 57fbc59ddb
commit c66947d72a

View file

@ -89,10 +89,13 @@ Popup {
textFormat: Text.StyledText textFormat: Text.StyledText
font.family: roboto.name font.family: roboto.name
Layout.fillHeight: true Layout.fillHeight: true
Layout.leftMargin: 25 Layout.fillWidth: true
Layout.rightMargin: 25 Layout.leftMargin: 10
Layout.topMargin: 25 Layout.rightMargin: 10
Layout.topMargin: 10
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
Accessible.name: text.replace(/<\/?[^>]+(>|$)/g, "") Accessible.name: text.replace(/<\/?[^>]+(>|$)/g, "")
} }