Control Center: hide shortcuts box if empty

This commit is contained in:
Adam Laughlin
2025-11-26 20:08:13 -05:00
parent 40f70cdbb1
commit 4d24791ec1
@@ -14,6 +14,7 @@ RowLayout {
NBox {
Layout.fillWidth: true
Layout.preferredHeight: root.shortcutsHeight
visible: Settings.datga.controlCenter.shortcuts.left.length > 0
RowLayout {
id: leftContent
@@ -53,6 +54,7 @@ RowLayout {
NBox {
Layout.fillWidth: true
Layout.preferredHeight: root.shortcutsHeight
visible: Settings.data.controlCenter.shortcuts.right.length > 0
RowLayout {
id: rightContent