From d54df2792ad8536ea2e4135fba3bb3558e281fe1 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 1 May 2025 00:56:55 +1000 Subject: feat: bar panel preset Make presets more flexible Fix workspaces when show windows disabled Make rounded option for workspaces --- modules/bar/Bar.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/bar/Bar.qml') 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 { -- cgit v1.2.3-freya