XLPagerTabStrip
XLPagerTabStrip copied to clipboard
Can't update selected bar width
I'm trying to update the width of the selected bar that moves to the selected item.
I can set the height like this
settings.style.selectedBarHeight = 3.0
Is there a way of setting the width?
I'm using this trick. ` self.changeCurrentIndexProgressive = { [weak self] (oldCell: ButtonBarViewCell?, newCell: ButtonBarViewCell?, progressPercentage: CGFloat, changeCurrentIndex: Bool, animated: Bool) -> Void in self?.buttonBarView.selectedBar.frame.size.width = 100
}`