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

在导航栏上设置 JXSegmentedIndicatorLineView 不显示 #170

Open
hrscy opened this issue Jun 16, 2021 · 2 comments
Open

在导航栏上设置 JXSegmentedIndicatorLineView 不显示 #170

hrscy opened this issue Jun 16, 2021 · 2 comments

Comments

@hrscy
Copy link

hrscy commented Jun 16, 2021

默认 indicator.indicatorPosition = .bottom 是显示在底部的,但是在导航栏设置 indicator ,不显示。
image

但是 如果 设置 indicator.indicatorPosition = .top,会显示在顶部,这个是什么原因呢?
image

@chengyifly
Copy link

我也遇到了,默认是bottom,实际y是负数。断点查看在这个行代码,拿到的height是0,
case .bottom:
y = model.currentSelectedItemFrame.size.height - height - verticalOffset

@chengyifly
Copy link

哥们你这个过渡色怎么设置的,太帅了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants