add permanent glow to bar groups
This commit is contained in:
parent
6d4230b8cf
commit
5b1c355917
1 changed files with 10 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue