JXSegmentedView icon indicating copy to clipboard operation
JXSegmentedView copied to clipboard

在导航栏上设置 JXSegmentedIndicatorLineView 不显示

Open hrscy opened this issue 3 years ago • 2 comments

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

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

hrscy avatar Jun 16 '21 15:06 hrscy

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

chengyifly avatar Jun 17 '21 09:06 chengyifly

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

chengyifly avatar Jun 17 '21 09:06 chengyifly