roubachof / Sharpnado.CollectionView

A performant list view supporting: grid, horizontal and vertical layout, drag and drop, and reveal animations.
The Unlicense
245 stars 30 forks source link

ColumnCount affects itemwidth if list has only one element. #59

Closed SwarupaKM closed 1 year ago

SwarupaKM commented 2 years ago

Platform (please complete the following information):

Describe the bug Here is the scenario, I set default column count to 1. And change it for iPad/Tab to 2/3 depending on Portrait or Landscape mode. App works nicely till I hit a case where list has only one element. Then I see only one column by default overriding my setting of number of columns.

To Reproduce Steps to reproduce the behavior: Set Default ColumnCount to 1 Reset it programmatically to 2/3 Use list with one item as item source.

roubachof commented 2 years ago

Would need a repro sample for that.