-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JXSegmentedTitleImageDataSource (图片在上或者在下的时候宽度计算) #219
Comments
我也遇到了同样的问题,新版本会修复吗 @pujiaxin33 |
我尝试了继承 JXSegmentedTitleImageDataSource
但是 func segmentedView(_ segmentedView: JXSegmentedView, widthForItemContentAt index: Int) -> CGFloat 无法重写 (使用pod管理的 此方法使用的public) 查看了一下 如果不是一些特定的 例如缩放 获取模型中的宽度等 这个方法不重写 好像也不影响 |
我是这样重写的,宽度就正常了
|
已参考,修复。 |
上面应该取width 不应该用itemWidth
The text was updated successfully, but these errors were encountered: