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

CCLabelBMFont error #323

Closed
yannchao opened this issue Jun 26, 2011 · 2 comments
Closed

CCLabelBMFont error #323

yannchao opened this issue Jun 26, 2011 · 2 comments

Comments

@yannchao
Copy link

Hi,

When i init the CCLabelBMFont using labelWithString, it doesn't show right. I must call setString() again. I think it has some problems with init.

levelLabel = CCLabelBMFont::labelWithString("        ", "ITC_AVANT.fnt");
levelLabel->setString("LV.1AAAAAAAAAAAAAA");

You can try to change the space amount.


Problem still exists in the latest version. I must setString twice, if not it will show incorrect sometimes.

Yann

stuartcarnie pushed a commit to stuartcarnie/cocos2d-x that referenced this issue Jun 28, 2011
stuartcarnie pushed a commit to stuartcarnie/cocos2d-x that referenced this issue Jun 28, 2011
stuartcarnie pushed a commit to stuartcarnie/cocos2d-x that referenced this issue Jun 28, 2011
stuartcarnie pushed a commit to stuartcarnie/cocos2d-x that referenced this issue Jun 28, 2011
@yannchao
Copy link
Author

yannchao commented Jul 9, 2011

Can't report bug here?

@yannchao
Copy link
Author

yannchao commented Sep 1, 2011

it's OK!

@yannchao yannchao closed this as completed Sep 1, 2011
kawaiSky pushed a commit to kawaiSky/cocos2d-x that referenced this issue Apr 14, 2016
update ActionEx to support build action directly in node
gelldur pushed a commit to gelldur/cocos2d-x that referenced this issue Aug 16, 2016
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