diff options
Diffstat (limited to 'modules/bar/Bar.qml')
| -rw-r--r-- | modules/bar/Bar.qml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 35c77e0..420ad18 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -19,8 +19,8 @@ Variants { namespace: "caelestia-bar" color: "transparent" - width: content.width - height: content.height + width: BarConfig.vertical ? BarConfig.preset.totalHeight : -1 + height: BarConfig.vertical ? -1 : BarConfig.preset.totalHeight anchors.top: true anchors.left: true @@ -42,12 +42,15 @@ Variants { // } // } - // SwipeView { - // anchors.fill: parent + SwipeView { + anchors.fill: parent + currentIndex: 1 - // } - Pills { - id: content + // Item { + Pills { + id: content + } + // } } // Box { |