mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-12 06:41:03 +00:00
ControlCenter: height & layout changes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user