updated for different screen sizes
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user