add shadows to bar modules
This commit is contained in:
parent
a0de1f29c6
commit
44ec5354f9
8 changed files with 82 additions and 1 deletions
|
|
@ -13,6 +13,17 @@ import qs.widgets
|
|||
|
||||
Rectangle {
|
||||
id: main
|
||||
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
id: dropShadow
|
||||
source: main
|
||||
shadowEnabled: true
|
||||
shadowHorizontalOffset: 4
|
||||
shadowVerticalOffset: 2
|
||||
shadowOpacity: 0.5
|
||||
shadowColor: "#020202"
|
||||
}
|
||||
required property real moduleHeight
|
||||
required property int screenHeight
|
||||
color: Colors.base02
|
||||
|
|
|
|||
Loading…
Reference in a new issue