From adb742a08859103da859553c39280d962d02c236 Mon Sep 17 00:00:00 2001 From: Honney Date: Mon, 8 Jun 2026 19:51:28 +0200 Subject: [PATCH] updated for different screen sizes --- modules/bar/Bar.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 3b018d0..3553265 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -16,7 +16,11 @@ PanelWindow { anchors.left: true anchors.right: true - implicitHeight: Math.floor(screen.height * 0.025) + implicitHeight: ( + screen.height >= 2160 ? screen.height * 0.02 : + screen.height >= 1440 ? screen.height * 0.03 : + screen.height * 0.04 + ) exclusiveZone: height // this is so context menus don't clip into the bar