iOS: set min space to zero
This commit is contained in:
parent
f718ad9309
commit
03b3bb6604
@ -104,6 +104,8 @@ - (void)initWithSuperNode:(DoricSuperNode *)superNode {
|
||||
|
||||
- (UICollectionView *)build {
|
||||
UICollectionViewFlowLayout *collectionViewFlowLayout = [[UICollectionViewFlowLayout alloc] init];
|
||||
[collectionViewFlowLayout setMinimumInteritemSpacing:0];
|
||||
[collectionViewFlowLayout setMinimumLineSpacing:0];
|
||||
[collectionViewFlowLayout setScrollDirection:UICollectionViewScrollDirectionHorizontal];
|
||||
return [[[DoricHorizontalTableView alloc] initWithFrame:CGRectZero
|
||||
collectionViewLayout:collectionViewFlowLayout] also:^(UICollectionView *it) {
|
||||
|
Reference in New Issue
Block a user