# fix\(spend-view\): avoid Grid rows property lookup for Qt6 qmllint · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/d500b73337964c6b2b0418bfd2a3367ae333a4a4)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: d500b73337964c6b2b0418bfd2a3367ae333a4a4

Requested commit: d500b73337964c6b2b0418bfd2a3367ae333a4a4

Commit: d500b73337964c6b2b0418bfd2a3367ae333a4a4

Tree: 2c7b6ccc64b46ead7026d4234df2a6d17b45790b

Author: google-labs-jules\[bot\]

Committer: google-labs-jules\[bot\]

## Message

```
fix(spend-view): avoid Grid rows property lookup for Qt6 qmllint

Avoid referencing `heatmapGrid.rows` when defining the `Layout.preferredHeight`
and related parameters of the `Grid` components, as `qmllint` in Qt6
reports that the `rows` property is missing from the `Grid` item.
Instead, use the hardcoded constant `7`. Update test assertions in
`scripts/test_ui_regressions.sh` to match.

Co-authored-by: Lucenx9 <185146821+Lucenx9@users.noreply.github.com>

```

## Parents

- [e10ccae87cc9a30e7bee0f36ab2decd6e0bbdfa0](https://git.cafe/lucenx/codexbar-plasma/commit/e10ccae87cc9a30e7bee0f36ab2decd6e0bbdfa0?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/d500b73337964c6b2b0418bfd2a3367ae333a4a4?format=markdown)
