aboutsummaryrefslogtreecommitdiff
path: root/components/StandardDialog.qml
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-08-20 22:23:22 +0200
committerJaquee <jaquee.monero@gmail.com>2017-11-03 16:57:12 +0100
commit4b871306e465d58844e52e799abcb1259c90ad09 (patch)
tree1a10160377578a2b616868440b33b295e3ef9228 /components/StandardDialog.qml
parente324e160daf409bc63e6e98cce027b93759d40fa (diff)
downloadmonzero-gui-4b871306e465d58844e52e799abcb1259c90ad09.tar.gz
monzero-gui-4b871306e465d58844e52e799abcb1259c90ad09.tar.xz
monzero-gui-4b871306e465d58844e52e799abcb1259c90ad09.zip
fix popups positioning
Diffstat (limited to 'components/StandardDialog.qml')
-rw-r--r--components/StandardDialog.qml2
1 files changed, 1 insertions, 1 deletions
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()