XLPagerTabStrip icon indicating copy to clipboard operation
XLPagerTabStrip copied to clipboard

gap between the button bars

Open yuhai-bd opened this issue 4 years ago • 1 comments

How can I set space padding between tabs to zero? I'd like tabs to fill the bar and avoid gaps, without scrolling. And to have the same width if possible. I'm using the 5.0 (swift) version from pods.

image

yuhai-bd avatar May 15 '20 10:05 yuhai-bd

I'm using this trick. it works perfectly `if let layout = buttonBarView.collectionViewLayout as? UICollectionViewFlowLayout { layout.minimumLineSpacing = 0 layout.minimumInteritemSpacing = 0 buttonBarView.collectionViewLayout = layout

}`

linhnv106 avatar May 21 '20 02:05 linhnv106