iOS: set min space to zero

This commit is contained in:
王劲鹏 2023-04-26 17:56:02 +08:00 committed by osborn
parent f718ad9309
commit 03b3bb6604

View File

@ -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) {