Skip to content

Grid Layout Mismatch Due to Incorrect Indexing #140

@matt-edmondson

Description

@matt-edmondson

In ShowColumnMajor, the previousCellHeight calculation uses itemDimensionsWithSpacing[rowIndex - 1].Y. This is incorrect because itemDimensionsWithSpacing is indexed by the global item index, not the local rowIndex for the current column. This results in misaligned cells and an incorrect grid layout. The correct value is in gridLayout.RowHeights[rowIndex - 1].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions