UITextField shows black boxes when used in Portrai

What’s the issue?
UITextField displays black boxes instead of the text when used in portrait mode.

What’s the engine version?
Cocos2d-x 3.0 beta 1

How to reproduce it?

  1. Create an Android Project.
  2. Set screenOrientation to portrait.
  3. Add a UITextField on a scene.
  4. Test on an Android device.

OR

  1. Build, Compile, and Run TestCPP on Portrait mode.
  2. Go to ExtensionsTest > CocosStudioGUITest > gui TextField Test.

Please use EditBox, textfield is very old

I’m talking about cocos2d::gui::UITextField, the one used with CocoStudio.
I used this file as base: https://github.com/cocos2d/cocos2d-x/blob/master/samples/Cpp/TestCpp/Classes/ExtensionsTest/CocoStudioGUITest/UITextFieldTest/UITextFieldTest.cpp

Also, I don’t like using EditBox as it creates another activity on top of the game.

Note that this issue doesn’t happen when used in Landscape, only in portrait.

ok, point taken, i’ll forward this to studio UI team

@lance_gray, which version of Android, and which brand / model of device are you using?

Samsung Galaxy S4, KitKat update. Will try on ICS.