From d973ed066c3a9471504e4799916364be909b0133 Mon Sep 17 00:00:00 2001 From: quadbyte Date: Thu, 7 Aug 2025 23:27:52 -0400 Subject: [PATCH] SidePanel: fix vertical position in 1080p --- Components/PanelWithOverlay.qml | 2 +- Widgets/SidePanel/PanelPopup.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Components/PanelWithOverlay.qml b/Components/PanelWithOverlay.qml index 027ff41..3f29373 100644 --- a/Components/PanelWithOverlay.qml +++ b/Components/PanelWithOverlay.qml @@ -6,7 +6,7 @@ import qs.Settings PanelWindow { id: outerPanel property bool showOverlay: Settings.settings.dimPanels - property int topMargin: 36 + property int topMargin: 36 * Theme.scale(screen) property color overlayColor: showOverlay ? Theme.overlay : "transparent" function dismiss() { diff --git a/Widgets/SidePanel/PanelPopup.qml b/Widgets/SidePanel/PanelPopup.qml index d03521c..69e1998 100644 --- a/Widgets/SidePanel/PanelPopup.qml +++ b/Widgets/SidePanel/PanelPopup.qml @@ -174,8 +174,8 @@ PanelWithOverlay { width: sidebarPopupRect.width - sidebarPopupRect.leftPadding height: sidebarPopupRect.height - sidebarPopupRect.bottomPadding x: sidebarPopupRect.leftPadding + sidebarPopupRect.slideOffset + y: 0 color: Theme.backgroundPrimary - // anchors.fill: parent bottomLeftRadius: 20 Behavior on x {