From 4b871306e465d58844e52e799abcb1259c90ad09 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Sun, 20 Aug 2017 22:23:22 +0200 Subject: fix popups positioning --- components/StandardDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/StandardDialog.qml') diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index ae2b79ff..d3e14b29 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -67,7 +67,7 @@ Rectangle { function open() { // Center if(!isMobile) { - root.x = appWindow.width/2 - root.width/2 + root.x = parent.width/2 - root.width/2 root.y = screenHeight/2 - root.height/2 } show() -- cgit v1.2.3