Single lined TextField


#1

Hello!

I’m trying to make a single lined TextField and I have troubles with it. Basically when I use:
textField->ignoreContentAdaptWithSize(true);
The text is one lined but it goes beyond it’s bounds which obviously is bad :confused:
when I use:
textField->ignoreContentAdaptWithSize(true);
The text stays within it’s bounds which is great but becomes multi-lined which is something I don’t want.

Does anyone have a solution for that problem? I know there is EditBox that would fit perfectly for one lined texts but unless someone can tell me how to disable the auto scene movement when the keyboard is shown I’m not interested in that component.