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

设置颜色 #28

Closed
zcgit opened this issue Nov 9, 2013 · 3 comments
Closed

设置颜色 #28

zcgit opened this issue Nov 9, 2013 · 3 comments

Comments

@zcgit
Copy link
Contributor

zcgit commented Nov 9, 2013

label设置颜色后,图标也会变成该颜色,例如我将字设置成黑色,图标也就变黑了。

@stubma
Copy link
Owner

stubma commented Nov 10, 2013

你是说CCRichLabelTTF? 我在demo里设置setFontFillColor(ccBlack)没有看到图片变黑

@zcgit
Copy link
Contributor Author

zcgit commented Nov 12, 2013

setColor就会吧,而且我还发现一个,就是在android平台上,文字中的图标并没有根据屏幕自动拉升,所以会导致在分辨率高的手机上感觉图片特别小,我试着按比例放大,好像也不行,不知道你怎么解决。

@stubma
Copy link
Owner

stubma commented Nov 13, 2013

CCLabelTTF, CCRichLabelTTF都是用setFontFillColor设置颜色的

@stubma stubma closed this as completed in f2bac7a Nov 13, 2013
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