From f98036a30326582ac7c87835a1d3dd386b8d34f9 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 1 May 2025 18:30:53 +1000 Subject: feat: vertical bar actually works!!! --- modules/bar/Pills.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/bar/Pills.qml') diff --git a/modules/bar/Pills.qml b/modules/bar/Pills.qml index 46e55d4..556870d 100644 --- a/modules/bar/Pills.qml +++ b/modules/bar/Pills.qml @@ -12,6 +12,7 @@ BoxLayout { return BarConfig.vertical ? vert : horiz; } + vertical: BarConfig.vertical spacing: Appearance.padding.large anchors.fill: parent @@ -98,6 +99,7 @@ BoxLayout { Power { // Center in pill x: (BarConfig.sizes.height - width) / 2 + y: (BarConfig.sizes.height - height) / 2 anchors.horizontalCenter: root.get(undefined, parent.horizontalCenter) anchors.verticalCenter: root.get(parent.verticalCenter, undefined) -- cgit v1.2.3-freya