Skip to content
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

JXSegmentedView.collectionView的contentSize在哪获取得到 #186

Open
mrkison opened this issue Oct 17, 2021 · 1 comment
Open

JXSegmentedView.collectionView的contentSize在哪获取得到 #186

mrkison opened this issue Oct 17, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@mrkison
Copy link

mrkison commented Oct 17, 2021

目的:我是想在JXSegmentedView的item较多时,在collectionView.contentSize.width > collectionView.width,将collectionView的宽缩小一点,再在后面添加一个“更多”的按钮。
问题:麻烦请问下,谁知道JXSegmentedView.collectionView的contentSize,在什么时候能获取到,我有继承JXSegmentedView,为contentSize添加kvo,但是这样就会导致在手动滑动listContainerView时,JXSegmentedView不做响应。或者有什么其他方法能做到上面的目的吗?

@JerseyBro
Copy link

@mrkison 同问, 请问找到好的方法了吗

@pujiaxin33 pujiaxin33 added the help wanted Extra attention is needed label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants