summaryrefslogtreecommitdiff
path: root/modules/bar/components/Tray.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-15 21:49:09 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-15 21:49:09 +1000
commit2be46ff65ab50026e831c42b25c1a4f86eb413c4 (patch)
tree03853df4c5bbb5d948dd01f4f8a627504b1a918b /modules/bar/components/Tray.qml
parentlock/notifs: retain notifs (diff)
downloadcaelestia-shell-2be46ff65ab50026e831c42b25c1a4f86eb413c4.tar.gz
caelestia-shell-2be46ff65ab50026e831c42b25c1a4f86eb413c4.tar.bz2
caelestia-shell-2be46ff65ab50026e831c42b25c1a4f86eb413c4.zip
internal: static bar width
Diffstat (limited to 'modules/bar/components/Tray.qml')
-rw-r--r--modules/bar/components/Tray.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bar/components/Tray.qml b/modules/bar/components/Tray.qml
index c921409..df664d9 100644
--- a/modules/bar/components/Tray.qml
+++ b/modules/bar/components/Tray.qml
@@ -12,7 +12,7 @@ StyledRect {
clip: true
visible: width > 0 && height > 0 // To avoid warnings about being visible with no size
- implicitWidth: layout.implicitWidth + Math.floor(Appearance.padding.normal * 1.8)
+ implicitWidth: Config.bar.sizes.innerWidth
implicitHeight: layout.implicitHeight + (Config.bar.tray.background ? Appearance.padding.normal : Appearance.padding.small) * 2
color: Qt.alpha(Colours.tPalette.m3surfaceContainer, Config.bar.tray.background ? Colours.tPalette.m3surfaceContainer.a : 0)