From 03b3bb6604fe0c0cca30ea83888424024e91d087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Wed, 26 Apr 2023 17:56:02 +0800 Subject: [PATCH] iOS: set min space to zero --- doric-iOS/Pod/Classes/Shader/DoricHorizontalListNode.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doric-iOS/Pod/Classes/Shader/DoricHorizontalListNode.m b/doric-iOS/Pod/Classes/Shader/DoricHorizontalListNode.m index 3f63e117..2057404e 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricHorizontalListNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricHorizontalListNode.m @@ -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) {