diff options
Diffstat (limited to 'modules/bar/Bar.qml')
| -rw-r--r-- | modules/bar/Bar.qml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 5a2940f..ad1621c 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -14,8 +14,8 @@ Variants { screen: modelData name: "bar" - width: BarConfig.vertical ? BarConfig.preset.totalHeight : -1 - height: BarConfig.vertical ? -1 : BarConfig.preset.totalHeight + width: BarConfig.vertical ? BarConfig.sizes.totalHeight : -1 + height: BarConfig.vertical ? -1 : BarConfig.sizes.totalHeight anchors.top: true anchors.left: true @@ -42,6 +42,12 @@ Variants { Pills {} } + + Preset { + presetName: "panel" + + Panel {} + } } component Preset: Loader { |