diff --git a/AddonsPanel.qml b/AddonsPanel.qml index 547f776..d42c1a2 100644 --- a/AddonsPanel.qml +++ b/AddonsPanel.qml @@ -210,8 +210,8 @@ Page { } Dialog { parent: window.overlay - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 + x: (parent.width - implicitWidth) / 2 + y: (parent.height - implicitHeight) / 2 title: qsTr("Following files will be deleted:") standardButtons: Dialog.Ok | Dialog.Cancel onAccepted: addon.confirmFileRemove(true) @@ -219,7 +219,8 @@ Page { modal: true visible: addon.filesToRemove != "" closePolicy: Popup.NoAutoClose - contentItem: ScrollView{ + ScrollView{ + anchors.fill: parent TextArea { text: addon.filesToRemove readOnly: true diff --git a/main.qml b/main.qml index 6650289..0c7f292 100644 --- a/main.qml +++ b/main.qml @@ -285,8 +285,8 @@ ApplicationWindow { } Dialog { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 + x: (parent.width - implicitWidth) / 2 + y: (parent.height - implicitHeight) / 2 title: Engine.statusMessage id: cloningDialong ProgressBar {