fix(ChooseBrowserPopup): ensure popup is always centered

Fixes #3979
This commit is contained in:
Pascal Precht 2021-11-02 11:58:41 +01:00 committed by Iuri Matias
parent 6d944dfb69
commit fdc8fea88e
1 changed files with 3 additions and 2 deletions

View File

@ -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")