Use Style.spacingXXXl for spacing AND margins (removed Style.marginXXX)

This commit is contained in:
quadbyte 2025-08-11 23:08:24 -04:00
parent 197bd58661
commit 1e0057dcaf
7 changed files with 26 additions and 33 deletions

View file

@ -35,7 +35,7 @@ NLoader {
readonly property real scaling: Scaling.scale(screen)
// Single source of truth for spacing between cards (both axes)
property real cardSpacing: Style.spacingLarge * scaling
property real cardSpacing: Style.marginLarge * scaling
// X coordinate from the bar to align this panel under
property real anchorX: root.anchorX
// Ensure this panel attaches to the intended screen

View file

@ -79,7 +79,7 @@ NBox {
model: weatherReady ? Location.data.weather.daily.time : []
delegate: ColumnLayout {
Layout.alignment: Qt.AlignHCenter
spacing: Style.spacingSmall * scaling
spacing: Style.marginSmall * scaling
NText {
text: Qt.formatDateTime(new Date(Location.data.weather.daily.time[index]), "ddd")
color: Colors.textPrimary