From 0b094f236e1563c81c5d85f2f5194f2c2800d736 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 9 Aug 2025 13:41:08 +1000 Subject: bar: add min padding For when smol border thickness --- modules/bar/Bar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/bar') diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index e7d3cd0..7ed733e 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -63,7 +63,7 @@ Item { anchors.bottom: parent.bottom anchors.left: parent.left - implicitWidth: child.implicitWidth + Config.border.thickness * 2 + implicitWidth: child.implicitWidth + Math.max(Appearance.padding.smaller, Config.border.thickness) * 2 Item { id: child -- cgit v1.2.3-freya