Parchment icon indicating copy to clipboard operation
Parchment copied to clipboard

Minimum Item Width For Self Sizing Cells

Open rocxteady opened this issue 4 years ago • 1 comments

Hello. Is it possible to set minimum width for self sizing cells? Because sometimes I want the items fill the all view's width if there are a few items.

rocxteady avatar Apr 14 '20 12:04 rocxteady

Hi @rocxteady! This isn't possible at the moment, but you can probably achieve it by implementing the size delegate. I agree that it would be nice to have build-in support for this though. The sizeToFit option has provided this functionality before, but I think it makes sense to make this a separate property from menuItemSize. That would make it possible to get this behaviour for both .fixed, .selfSizing and when using the size delegate.

rechsteiner avatar Apr 22 '20 17:04 rechsteiner