From c66947d72a02c9ec4bfd487506d92f8e35a0024c Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Wed, 18 Sep 2024 15:17:21 +0100 Subject: [PATCH] qml: MessagePopup: Make message bounds explicit --- src/MsgPopup.qml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/MsgPopup.qml b/src/MsgPopup.qml index 9304a8a..7539fa5 100644 --- a/src/MsgPopup.qml +++ b/src/MsgPopup.qml @@ -89,10 +89,13 @@ Popup { textFormat: Text.StyledText font.family: roboto.name Layout.fillHeight: true - Layout.leftMargin: 25 - Layout.rightMargin: 25 - Layout.topMargin: 25 + Layout.fillWidth: true + Layout.leftMargin: 10 + Layout.rightMargin: 10 + Layout.topMargin: 10 Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter Accessible.name: text.replace(/<\/?[^>]+(>|$)/g, "") }