add permanent glow to bar groups

This commit is contained in:
Damocles 2026-04-12 16:57:22 +02:00
parent 6d4230b8cf
commit 5b1c355917

View file

@ -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