From 3e6a68b47244f008eba27c2cf204dca7f81f39e0 Mon Sep 17 00:00:00 2001 From: darksignal7 Date: Sat, 4 Oct 2025 19:50:51 +0300 Subject: [PATCH] fix multiline quote --- .config/quickshell/ii/modules/background/CookieClock.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/ii/modules/background/CookieClock.qml b/.config/quickshell/ii/modules/background/CookieClock.qml index 0bcbe7184..ef0aef780 100644 --- a/.config/quickshell/ii/modules/background/CookieClock.qml +++ b/.config/quickshell/ii/modules/background/CookieClock.qml @@ -280,14 +280,17 @@ Item { anchors.top: parent.bottom anchors.topMargin: 24 - implicitWidth: quoteText.width + quoteIcon.width + 12 // 12 for spacing on both sides - implicitHeight: showQuote ? 30 : 0 // A better way to hide can be found + implicitWidth: quoteText.width + quoteIcon.width + 16 // 12 for spacing on both sides + implicitHeight: showQuote ? quoteText.height + 8 : 0 radius: Appearance.rounding.small color: Appearance.colors.colSecondaryContainer Behavior on implicitHeight { animation: Appearance.animation.elementResize.numberAnimation.createObject(this) } + Behavior on implicitWidth { + animation: Appearance.animation.elementResize.numberAnimation.createObject(this) + } Behavior on opacity { animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this) }