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

Cell width is out of bounds of collection view. #5

Open
haiderTkxel opened this issue Feb 23, 2022 · 2 comments
Open

Cell width is out of bounds of collection view. #5

haiderTkxel opened this issue Feb 23, 2022 · 2 comments

Comments

@haiderTkxel
Copy link

If text is lengthy then cell width is out of bounds of collection view.

@Shannon-Yang
Copy link

Shannon-Yang commented Jul 14, 2023

You can set a constraint on the maximum width of your Label @haiderTkxel

@Coeur
Copy link
Owner

Coeur commented Jul 29, 2023

Unless I'm mistaken, that's not an issue with CollectionViewCenteredFlowLayout, and you have the same behavior with the native class UICollectionViewFlowLayout, right?
Otherwise, kindly share a sample project or code that can reproduce the issue, showing that the issue is specific to CollectionViewCenteredFlowLayout and not UICollectionViewFlowLayout.
Thanks.

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

3 participants