summaryrefslogtreecommitdiff
path: root/modules/bar
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-09 13:41:08 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-09 13:41:08 +1000
commit0b094f236e1563c81c5d85f2f5194f2c2800d736 (patch)
tree08e6ee7259385a49d2e6ac1b07daff1a24ee77f3 /modules/bar
parentnix/chore: update flake inputs (diff)
downloadcaelestia-shell-0b094f236e1563c81c5d85f2f5194f2c2800d736.tar.gz
caelestia-shell-0b094f236e1563c81c5d85f2f5194f2c2800d736.tar.bz2
caelestia-shell-0b094f236e1563c81c5d85f2f5194f2c2800d736.zip
bar: add min padding
For when smol border thickness
Diffstat (limited to 'modules/bar')
-rw-r--r--modules/bar/Bar.qml2
1 files changed, 1 insertions, 1 deletions
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