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

关于BeeUIButton中的自定义label的问题 #136

Open
mylonly opened this issue Jun 10, 2015 · 1 comment
Open

关于BeeUIButton中的自定义label的问题 #136

mylonly opened this issue Jun 10, 2015 · 1 comment

Comments

@mylonly
Copy link

mylonly commented Jun 10, 2015

我在用css中的text-insets属性时发现无效,看源码时发现BeeUIButton实现了自己的一个label,没有使用UIButton的titleLabel,而在解析text-inserts值是确调用的是UIButton的setTitleEdgeInsets方法导致无效。我想修改BeeUIButton去掉自定义的label使用uibutton自己的titleLabel,但是不知道到当初写BeeUIButton自定义自己label是不是还有更深层次的考虑?

@mylonly
Copy link
Author

mylonly commented Jun 10, 2015

而且在BeeUIButton中使用setTitleColor:forState也是无效的,我感觉这个设置是UIButton中很好用的一个功能,为什么要在BeeUIButton中没有给其自定义的label实现这个功能?

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

1 participant