diff --git a/qml/BasicDialog.qml b/qml/BasicDialog.qml index bdb1d7b..b3b4e6d 100644 --- a/qml/BasicDialog.qml +++ b/qml/BasicDialog.qml @@ -6,6 +6,7 @@ Controls.Dialog { modal: true focus: true parent: applicationWindow().overlay + //anchors.centerIn: parent // enable if requiring at least Qt 5.12 instead of setting x and y manually x: (parent.width - width) / 2 y: (parent.height - height) / 2 width: Math.min(parent.width, Kirigami.Units.gridUnit * 30)