summaryrefslogtreecommitdiff
path: root/modules/bar/Bar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar/Bar.qml')
-rw-r--r--modules/bar/Bar.qml29
1 files changed, 20 insertions, 9 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml
index 658ef87..f85d0b2 100644
--- a/modules/bar/Bar.qml
+++ b/modules/bar/Bar.qml
@@ -14,6 +14,7 @@ Variants {
screen: modelData
name: "bar"
+ exclusiveZone: BarConfig.sizes.exclusiveZone
width: BarConfig.vertical ? BarConfig.sizes.totalHeight : -1
height: BarConfig.vertical ? -1 : BarConfig.sizes.totalHeight
@@ -43,19 +44,29 @@ Variants {
}
}
- Preset {
- presetName: "pills"
- sourceComponent: Pills {
- screen: win.modelData
+ Item {
+ id: content
+
+ anchors.fill: parent
+
+ Preset {
+ presetName: "pills"
+ sourceComponent: Pills {
+ screen: win.modelData
+ }
}
- }
- Preset {
- presetName: "panel"
- sourceComponent: Panel {
- screen: win.modelData
+ Preset {
+ presetName: "panel"
+ sourceComponent: Panel {
+ screen: win.modelData
+ }
}
}
+
+ LayerShadow {
+ source: content
+ }
}
component Preset: Loader {