updated for different screen sizes

This commit is contained in:
Honney
2026-06-08 19:51:28 +02:00
parent 24eeb0bb32
commit adb742a088
+5 -1
View File
@@ -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