Panels: memory/cpu optimizations by moving most stuff to panelContent so its only loaded on demand

This commit is contained in:
Lemmy
2026-01-01 15:51:53 -05:00
parent 6d08004803
commit 3ce9967783
15 changed files with 1182 additions and 1229 deletions
@@ -16,6 +16,7 @@ SmartPanel {
preferredHeight: Math.round(500 * Style.uiScaleRatio)
panelContent: Rectangle {
id: panelContent
color: Color.transparent
// Calculate content height based on header + devices list (or minimum for empty states)