From 9a263f0211885fc17c0258fe2eeb131687a440e1 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Fri, 3 Jul 2020 21:07:31 +0200 Subject: [PATCH] Fix vertical position of message dialog On system with zoom settings the y position of the message dialog was off. --- MsgPopup.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MsgPopup.qml b/MsgPopup.qml index 2508ffd..9aece09 100644 --- a/MsgPopup.qml +++ b/MsgPopup.qml @@ -11,7 +11,7 @@ import QtQuick.Controls.Material 2.2 Popup { id: msgpopup x: 75 - y: parent.height/2-100 + y: (parent.height-height)/2 width: parent.width-150 height: msgpopupbody.implicitHeight+150 padding: 0