ControlCenter: height & layout changes

This commit is contained in:
lysec
2025-10-07 16:00:29 +02:00
parent 16c07428a1
commit a4a57fd690
4 changed files with 43 additions and 40 deletions
+5 -5
View File
@@ -11,7 +11,7 @@ NPanel {
id: root
preferredWidth: 460
preferredHeight: 688
preferredHeight: 580
panelKeyboardFocus: true
// Positioning
@@ -51,19 +51,19 @@ NPanel {
// Media + stats column
RowLayout {
Layout.fillWidth: true
Layout.preferredHeight: Math.max(304 * scaling)
Layout.preferredHeight: Math.max(196 * scaling)
spacing: content.cardSpacing
// Media card
MediaCard {
Layout.fillWidth: true
Layout.preferredWidth: Math.max(260 * scaling)
Layout.fillHeight: true
}
// System monitors combined in one card
SystemMonitorCard {
Layout.preferredWidth: Style.baseWidgetSize * 2.625 * scaling
Layout.fillHeight: true
Layout.preferredWidth: Math.max(160 * scaling)
Layout.preferredHeight: Math.max(196 * scaling)
}
}
}