Closed hipwelljo closed 6 years ago
Hi @hipwelljo, unfortunately, you cannot achieve your desired layout with this library. It's actually quite complex: For that kind of layout, you would need several layout passes:
It's possible to do that but if I were to implement that kind of layout, I certainly wouldn't go with a subclass of UICollectionViewFlowLayout
...
Thanks for your response!
Thank you for creating this great layout and sharing it with the world! ++ for a very nice readme.
I would like to create a justified layout just like the default settings provide, except instead of increasing the spacing between items, it would increase the width of the cells in that row equally to fill the available width. So the amount of spacing between the items remains consistent and the cells themselves are dynamically sized to fill the space. Would that be possible using this layout?
So given this current layout
I'm envisioning it would obtain the same amount of spacing in row 4 for rows 1-3 by increasing the width of the cells in each row until that same spacing is obtained.