Merge pull request #6069 from Dhilan007/develop_label

fixed can't type chinese.
This commit is contained in:
James Chen 2014-03-31 16:46:43 +08:00
commit f4a7da8457
1 changed files with 0 additions and 4 deletions

View File

@ -39,11 +39,7 @@ EditBoxTest::EditBoxTest()
// top
_editName = EditBox::create(editBoxSize, Scale9Sprite::create("extensions/green_edit.png"));
_editName->setPosition(Point(visibleOrigin.x+visibleSize.width/2, visibleOrigin.y+visibleSize.height*3/4));
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
_editName->setFontName("Paint Boy");
#else
_editName->setFontName("fonts/Paint Boy.ttf");
#endif
_editName->setFontSize(25);
_editName->setFontColor(Color3B::RED);
_editName->setPlaceHolder("Name:");