From fdc8fea88e0379fa7c626a9bc91b6fca4f8f8e49 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Tue, 2 Nov 2021 11:58:41 +0100 Subject: [PATCH] fix(ChooseBrowserPopup): ensure popup is always centered Fixes #3979 --- ui/app/AppLayouts/Chat/popups/ChooseBrowserPopup.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Chat/popups/ChooseBrowserPopup.qml b/ui/app/AppLayouts/Chat/popups/ChooseBrowserPopup.qml index 12a4800281..85f060ec26 100644 --- a/ui/app/AppLayouts/Chat/popups/ChooseBrowserPopup.qml +++ b/ui/app/AppLayouts/Chat/popups/ChooseBrowserPopup.qml @@ -10,15 +10,16 @@ StatusModal { property string link id: popup + anchors.centerIn: parent //% "Choose browser" header.title: qsTrId("choose-browser") width: 440 - height: 425 contentItem: Column { - anchors.fill: parent + width: popup.width - 32 spacing: 20 + anchors.horizontalCenter: popup.horizontalCenter Image { source: Style.png("chooseBrowserImage")