AudioPanel: auto resizing to content

This commit is contained in:
ItsLemmy
2025-11-03 19:12:54 -05:00
parent dc92039499
commit b7b10a360d
+4
View File
@@ -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