We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CCLabelTTF* pLabel = CCLabelTTF::labelWithString(testString->m_sString.c_str(),CCSizeMake(50,18),CCTextAlignmentRight,"Thonburi", 18); //CCLabelTTF* pLabel = CCLabelTTF::labelWithString(testString->m_sString.c_str(),"Thonburi", 18);
Both these lines have the text in the same position...Alignment is ignored.
Test on iOS
The text was updated successfully, but these errors were encountered:
I just modify HelloWorldScene.cpp
// add a label shows "Hello World" // create and initialize a label CCLabelTTF* pLabel = CCLabelTTF::labelWithString("Hello World", CCSizeMake(480, 50), CCTextAlignmentRight, "Thonburi", 34);
The text alignment right works. Please try to set a larger CCSizeMake, e.g. CCSizeMake(480, 50)
Sorry, something went wrong.
Hi, terenctb, I posted a screenshot for you http://www.cocos2d-x.org/boards/6/topics/1969
Merge pull request cocos2d#304 from htlxyz/v3
5ef86e1
add samples
Merge pull request cocos2d#304 from crystax/v3
63d4c4a
Support CrystaX NDK for Android builds
No branches or pull requests
Both these lines have the text in the same position...Alignment is ignored.
Test on iOS
The text was updated successfully, but these errors were encountered: