From ef55ccdbeb379f4039d81154af0f55a6613ad31b Mon Sep 17 00:00:00 2001 From: WenhaiLin Date: Tue, 20 Jan 2015 18:08:17 +0800 Subject: [PATCH] Fixed UIEditBoxTest display error font size --- .../Classes/UITest/CocoStudioGUITest/UIEditBoxTest.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIEditBoxTest.cpp b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIEditBoxTest.cpp index 121f6a1fb0..68697ec8f9 100644 --- a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIEditBoxTest.cpp +++ b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIEditBoxTest.cpp @@ -71,12 +71,6 @@ bool UIEditBoxTest::init() // middle _editPassword = ui::EditBox::create(editBoxSize, "extensions/orange_edit.png"); _editPassword->setPosition(Vec2(visibleOrigin.x+visibleSize.width/2, visibleOrigin.y+visibleSize.height/2)); -#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) - _editPassword->setFont("American Typewriter", 30); -#else - _editPassword->setFont("American Typewriter", 80); - _editPassword->setPlaceholderFont("American Typewriter", 80); -#endif _editPassword->setFontColor(Color3B::GREEN); _editPassword->setPlaceHolder("Password:"); _editPassword->setMaxLength(6);