You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed that when calculating the spacing, that JBSpacer takes a CGFloat for itemSize. If it took a CGSize parameter instead, it could include the height of the cell as it's already been defined, instead of applying itemSize to both the width and the height of the cell. This effectively bars any user from passing in a rectangular cell and having just the gutter width modified. Right now, it appears to assume that itemSize should be used for both width and height and resizes all cell heights to match itemSize.
The text was updated successfully, but these errors were encountered:
Noticed that when calculating the spacing, that JBSpacer takes a CGFloat for itemSize. If it took a CGSize parameter instead, it could include the height of the cell as it's already been defined, instead of applying itemSize to both the width and the height of the cell. This effectively bars any user from passing in a rectangular cell and having just the gutter width modified. Right now, it appears to assume that itemSize should be used for both width and height and resizes all cell heights to match itemSize.
The text was updated successfully, but these errors were encountered: