EditBox and TextField strange behavior

EditBox and TextField strange behavior
0

#1

I need to create simple sign in scene. At first i used EditBox. Everything good except password field. When I type characters are entered in the small size, but when I finish typing the size changes (look first video). This issue appears on Android and macOS but not on iOS.
Then i decided use TextField class. But i need align text to left. I set _passwordTextField->setTextHorizontalAlignment(TextHAlignment::LEFT);
but no effect (look second video).

cocos2d-x v3.17

Used system font “Helvetica” with size 32.