1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

feat: allow popout to resize to its contents (#847)

This commit is contained in:
Willem Schipper
2025-11-30 04:39:30 +01:00
committed by GitHub
parent 50ab346d58
commit b7572f727f

View File

@@ -75,7 +75,7 @@ DankPopout {
} }
} }
if (root.contentHeight === 0 && item) { if (root.contentHeight === 0 && item) {
root.contentHeight = item.implicitHeight + Theme.spacingS * 2 root.contentHeight = Qt.binding(() => item.implicitHeight + Theme.spacingS * 2)
} }
} }
} }