From 915216d0439f276d444a33d698c0723d43b9196a Mon Sep 17 00:00:00 2001 From: delcake Date: Tue, 26 Apr 2022 11:06:10 -0700 Subject: [PATCH] Correct placement for vertical screen layouts --- contents/ui/MenuRepresentation.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contents/ui/MenuRepresentation.qml b/contents/ui/MenuRepresentation.qml index b037f42..5605cee 100644 --- a/contents/ui/MenuRepresentation.qml +++ b/contents/ui/MenuRepresentation.qml @@ -114,12 +114,12 @@ PlasmaCore.Dialog { offset = (125 * PlasmaCore.Units.devicePixelRatio) / 2 + parent.height * 0.125 } } - y = parent.height + panelSvg.margins.bottom + offset; + y = screen.y + parent.height + panelSvg.margins.bottom + offset; } else { if (plasmoid.configuration.offsetY > 0) { offset = plasmoid.configuration.offsetY } - y = screen.height - parent.height - height - panelSvg.margins.top - offset; + y = screen.y + screen.height - parent.height - height - panelSvg.margins.top - offset; } } else { y = vertMidPoint - height / 2