Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum Item Width For Self Sizing Cells #477

Open
rocxteady opened this issue Apr 14, 2020 · 1 comment
Open

Minimum Item Width For Self Sizing Cells #477

rocxteady opened this issue Apr 14, 2020 · 1 comment

Comments

@rocxteady
Copy link
Contributor

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.

@rechsteiner
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants