ControlCenterTab: if weather is disabled, disable weather card

This commit is contained in:
Ly-sec
2025-11-04 08:24:00 +01:00
parent dac6c0c539
commit a48e789e2e
4 changed files with 65 additions and 15 deletions
+1 -1
View File
@@ -58,8 +58,8 @@ NPanel {
// Use implicitHeight from content + margins to avoid binding loops
property real contentPreferredHeight: mainColumn.implicitHeight + Style.marginL * 2
// property real contentPreferredHeight: Math.min(screen.height * 0.42, mainColumn.implicitHeight) + Style.marginL * 2
// property real contentPreferredHeight: Math.min(screen.height * 0.42, mainColumn.implicitHeight) + Style.marginL * 2
ColumnLayout {
id: mainColumn
anchors.fill: parent