From a5932a8feb6bd56b2708fa63295605105569395d Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 19:16:19 +0200 Subject: [PATCH] gradient bar follows screen corner radius --- modules/Bar.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/Bar.qml b/modules/Bar.qml index 25d2570..47eb0e1 100644 --- a/modules/Bar.qml +++ b/modules/Bar.qml @@ -31,7 +31,11 @@ PanelWindow { anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right - height: 3 + height: M.Theme.screenRadius > 0 ? M.Theme.screenRadius : 3 + topLeftRadius: M.Theme.screenRadius + topRightRadius: M.Theme.screenRadius + bottomLeftRadius: 0 + bottomRightRadius: 0 gradient: Gradient { orientation: Gradient.Horizontal GradientStop {