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 {
|
- (UICollectionView *)build {
|
||||||
UICollectionViewFlowLayout *collectionViewFlowLayout = [[UICollectionViewFlowLayout alloc] init];
|
UICollectionViewFlowLayout *collectionViewFlowLayout = [[UICollectionViewFlowLayout alloc] init];
|
||||||
|
[collectionViewFlowLayout setMinimumInteritemSpacing:0];
|
||||||
|
[collectionViewFlowLayout setMinimumLineSpacing:0];
|
||||||
[collectionViewFlowLayout setScrollDirection:UICollectionViewScrollDirectionHorizontal];
|
[collectionViewFlowLayout setScrollDirection:UICollectionViewScrollDirectionHorizontal];
|
||||||
return [[[DoricHorizontalTableView alloc] initWithFrame:CGRectZero
|
return [[[DoricHorizontalTableView alloc] initWithFrame:CGRectZero
|
||||||
collectionViewLayout:collectionViewFlowLayout] also:^(UICollectionView *it) {
|
collectionViewLayout:collectionViewFlowLayout] also:^(UICollectionView *it) {
|
||||||
|
Reference in New Issue
Block a user