From b7b10a360d12b81d0ff636ad0b4d2fe22fbaad46 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Mon, 3 Nov 2025 19:12:54 -0500 Subject: [PATCH] AudioPanel: auto resizing to content --- Modules/Bar/Audio/AudioPanel.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/Bar/Audio/AudioPanel.qml b/Modules/Bar/Audio/AudioPanel.qml index e1f240cc..61a2fae6 100644 --- a/Modules/Bar/Audio/AudioPanel.qml +++ b/Modules/Bar/Audio/AudioPanel.qml @@ -56,7 +56,11 @@ NPanel { panelContent: Rectangle { color: Color.transparent + // Use implicitHeight from content + margins to avoid binding loops + property real contentPreferredHeight: mainColumn.implicitHeight + Style.marginL * 2 + ColumnLayout { + id: mainColumn anchors.fill: parent anchors.margins: Style.marginL spacing: Style.marginM