mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
SidePanel: even more robust with sizing forced everywhere
This commit is contained in:
@@ -11,7 +11,7 @@ NPanel {
|
||||
id: root
|
||||
|
||||
preferredWidth: 460
|
||||
preferredHeight: 730
|
||||
preferredHeight: 734
|
||||
|
||||
panelContent: Item {
|
||||
id: content
|
||||
@@ -29,10 +29,12 @@ NPanel {
|
||||
// Cards (consistent inter-card spacing via ColumnLayout spacing)
|
||||
ProfileCard {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Math.max(64 * scaling)
|
||||
}
|
||||
|
||||
WeatherCard {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Math.max(220 * scaling)
|
||||
}
|
||||
|
||||
// Middle section: media + stats column
|
||||
@@ -49,6 +51,7 @@ NPanel {
|
||||
|
||||
// System monitors combined in one card
|
||||
SystemMonitorCard {
|
||||
Layout.preferredWidth: Style.baseWidgetSize * 2.625 * scaling
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
}
|
||||
@@ -61,14 +64,16 @@ NPanel {
|
||||
|
||||
// Power Profiles switcher
|
||||
PowerProfilesCard {
|
||||
spacing: content.cardSpacing
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
spacing: content.cardSpacing
|
||||
}
|
||||
|
||||
// Utilities buttons
|
||||
UtilitiesCard {
|
||||
spacing: content.cardSpacing
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
spacing: content.cardSpacing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user