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

pageControl 设置居中时,未真正居中,有偏移 #71

Open
RoseateAthena opened this issue Jul 18, 2019 · 2 comments
Open

pageControl 设置居中时,未真正居中,有偏移 #71

RoseateAthena opened this issue Jul 18, 2019 · 2 comments

Comments

@RoseateAthena
Copy link

当pageControl 设置居中时,未真正居中,有偏移。此问题出现在Storyboard中创建,并且Banner左右设置一定间隔,Banner 宽度小于屏幕宽度时。

@Tianyu95
Copy link

Tianyu95 commented Aug 9, 2019

代码设定也是这个问题
当不是屏幕宽度时候~~pageControl偏移了origin.x

@LvJianfeng
Copy link
Owner

@Tianyu95 @RoseateAthena

你好,由于自定义性,pageControl已经是对外暴露的,已经进行frame的修改的;

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

3 participants