xmartlabs / XLPagerTabStrip

Android PagerTabStrip for iOS.
MIT License
6.98k stars 1.33k forks source link

How to solve the width ButtonBarViewCell ? #784

Open Lee0820 opened 4 years ago

Lee0820 commented 4 years ago

when I write this

changeCurrentIndexProgressive = { [weak self] (oldCell: ButtonBarViewCell?, newCell: ButtonBarViewCell?, progressPercentage: CGFloat, changeCurrentIndex: Bool, animated: Bool) -> Void in guard changeCurrentIndex == true else { return } oldCell?.label.textColor = .black newCell?.label.textColor = self?.blueInstagramColor newCell?.label.font = UIFont.systemFont(ofSize: 20) oldCell?.label.font = UIFont.systemFont(ofSize: 16)

    }

B6AF3CCB-1F8A-4458-BA55-E6369D17E05F

Label can't support text

bananoso404 commented 4 years ago

+1