Skip to content

fix the TextAtlas incorrect width setting in the ccs file #3225

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

Merged
merged 1 commit into from
Mar 29, 2016

Conversation

highkay
Copy link
Contributor

@highkay highkay commented Dec 29, 2015

after the general widget attributes setting, the width of TextAtlas would be set to a certain value (the num you set in the cocos studio), but in actually we often set the string dynamically and the width of string should be calculating immediately. So enable the ignoreContentSize for the TextAtlas would be the correct way.

@pandamicro
Copy link
Contributor

Thanks for the contribution !

@pandamicro pandamicro merged commit 33e7c42 into cocos2d:develop Mar 29, 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

Successfully merging this pull request may close these issues.

3 participants