LXReorderableCollectionViewFlowLayout icon indicating copy to clipboard operation
LXReorderableCollectionViewFlowLayout copied to clipboard

Problem with customizing cell size

Open johnqh opened this issue 11 years ago • 0 comments

In the demo project, add the following code to LXCollectionViewController.m

  • (CGSize)collectionView:(UICollectionView )collectionView layout:(UICollectionViewLayout)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath { return CGSizeMake(indexPath.row == 0 ? 200 : 100, 100); }

The resulted screen is like this. The last row is messed up:

ios simulator screen shot may 22 2014 3 48 15 pm

johnqh avatar May 22 '14 22:05 johnqh