terry494 / cocos2d-android-1

Automatically exported from code.google.com/p/cocos2d-android-1
0 stars 0 forks source link

anchor point does not work with CCLabelAtles. #96

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In CCLabelAtles.java.....
public void setString(...) resets content size but constructor does not.
I moved setContentSize(string_.length() * itemWidth, itemHeight) in void 
setString to the end of void updateAtlasValues()

Original issue reported on code.google.com by msm...@gmail.com on 31 Aug 2011 at 1:44