xmartlabs/XLPagerTabStrip

gap between the button bars

yuhai-bd opened this issue · 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

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

}`