fixed can't type chinese.

This commit is contained in:
Dhilan007 2014-03-31 16:18:45 +08:00
parent d39a419eeb
commit 6c99f992dc
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:");