fix: column index desync after reorder

This commit is contained in:
2026-09-30 14:26:50 +02:00
parent 359f832609
commit 3373f11193
28 changed files with 859 additions and 464 deletions
+4 -4
View File
@@ -51,7 +51,7 @@ Row {
id: icon
anchors.left: parent.left
anchors.leftMargin: (Config.dashboard.sizes.infoIconSize - implicitWidth) / 2
anchors.leftMargin: (Tokens.sizes.dashboard.infoIconSize - implicitWidth) / 2
color: Colors.palette.m3primary
implicitSize: Math.floor(13 * 1.34)
source: SystemInfo.osLogo
@@ -65,7 +65,7 @@ Row {
anchors.verticalCenter: icon.verticalCenter
elide: Text.ElideRight
text: `: ${SystemInfo.osPrettyName || SystemInfo.osName}`
width: Config.dashboard.sizes.infoWidth
width: Tokens.sizes.dashboard.infoWidth
}
}
@@ -98,7 +98,7 @@ Row {
id: icon
anchors.left: parent.left
anchors.leftMargin: (Config.dashboard.sizes.infoIconSize - implicitWidth) / 2
anchors.leftMargin: (Tokens.sizes.dashboard.infoIconSize - implicitWidth) / 2
color: line.colour
fill: 1
fontStyle: Tokens.font.icon.small
@@ -113,7 +113,7 @@ Row {
anchors.verticalCenter: icon.verticalCenter
elide: Text.ElideNone
text: `: ${line.text}`
width: Config.dashboard.sizes.infoWidth
width: Tokens.sizes.dashboard.infoWidth
}
}
}