gleue / TGLStackedViewController

A stacked view layout with gesture-based reordering using a UICollectionView -- inspired by Passbook and Reminders apps.
MIT License
1.21k stars 117 forks source link

Give space between cells #44

Closed tapan-nathvani closed 7 years ago

tapan-nathvani commented 7 years ago

How can i give few pixel space between each cell ? And from bottom to top cells.. width should decreased... how can i achieve this ?

gleue commented 7 years ago

You could try setting an item size and making the cells' main view smaller than that.

gleue commented 7 years ago

For the decreasing width you'd have to adjust -prepareLayout in the two Layout classes.

tapan-nathvani commented 7 years ago

Yes i changed frame in prepareLayout and it works fine. Thanks :)