Removed all creeping: readonly property real scaling: Scaling.scale(screen)

This commit is contained in:
quadbyte 2025-08-15 11:24:05 -04:00
parent f67c48032f
commit 33bec01e98
31 changed files with 294 additions and 333 deletions

View file

@ -13,7 +13,6 @@ import qs.Widgets
NBox {
id: root
readonly property real scaling: Scaling.scale(screen)
property string uptimeText: "--"
Layout.fillWidth: true

View file

@ -7,8 +7,6 @@ import qs.Widgets
NBox {
id: root
readonly property real scaling: Scaling.scale(screen)
Layout.preferredWidth: 84 * scaling
implicitHeight: content.implicitHeight + Style.marginTiny * 2 * scaling

View file

@ -8,7 +8,6 @@ import qs.Widgets
NBox {
id: root
readonly property real scaling: Scaling.scale(screen)
readonly property bool weatherReady: (Location.data.weather !== null)
// TBC weatherReady is not turning to false when we reset weather...

View file

@ -32,7 +32,6 @@ NLoader {
NPanel {
id: sidePanel
readonly property real scaling: Scaling.scale(screen)
// Single source of truth for spacing between cards (both axes)
property real cardSpacing: Style.marginLarge * scaling
// X coordinate from the bar to align this panel under