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

使用JXSegmentedTitleImageDataSource时,设置titleImageType为leftImage时,maskTitleLabel的位置不对,会与图片重叠 #246

Closed
Hjt830 opened this issue Apr 29, 2024 · 1 comment

Comments

@Hjt830
Copy link

Hjt830 commented Apr 29, 2024

使用JXSegmentedTitleImageDataSource时,设置titleImageType为leftImage时,maskTitleLabel的位置不对,会与图片重叠。
image
这里应该加一行代码,把maskTitleLabel的center设置为titleLabel的center
"""
maskTitleLabel.center = titleLabel.center
"""

@pujiaxin33
Copy link
Owner

已按照你的建议进行了修复🤝

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