From 5b1c355917d93992fbda54202d2c5e8c5558954a Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 16:57:22 +0200 Subject: [PATCH] add permanent glow to bar groups --- modules/BarGroup.qml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/BarGroup.qml b/modules/BarGroup.qml index c628b9d..9f42a7d 100644 --- a/modules/BarGroup.qml +++ b/modules/BarGroup.qml @@ -1,4 +1,5 @@ import QtQuick +import QtQuick.Effects import "." as M Rectangle { @@ -6,7 +7,6 @@ Rectangle { default property alias content: row.children property color borderColor: M.Theme.base02 - color: "transparent" border.color: borderColor border.width: 1 @@ -14,6 +14,15 @@ Rectangle { visible: row.visibleChildren.length > 0 + layer.enabled: true + layer.effect: MultiEffect { + shadowEnabled: true + shadowColor: root.borderColor + shadowBlur: 0.6 + shadowVerticalOffset: 0 + shadowHorizontalOffset: 0 + } + implicitWidth: row.implicitWidth + _pad * 2 implicitHeight: row.implicitHeight + _pad * 2