Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: FOX_ITA on January 31, 2014, 10:09:39 AM
-
Hello there,
i'm having hard time with the TouchScreenKeyboard.hideInput = true !
I'm using an UIInput object and a textfield (UILabel) to fill the input from the keyboard and it works, but i wanna remove the upper part of the keyboard where the input preview is.
So i found that i've to use hideInput = true flag.
So just to test it i put into my Update() method inside my script but nothing happen.
Any suggestion?
I'm using Unity 4.3.3f1 and NGUI 3.0.8 f7
Many thanks!!
-
I've had the same problem. Set your max. lines for the textfield to 1 and not 0. The docs say:
"This property is applicable for SINGLE LINE text fields that have assigned keyboard with alphanumeric keys. Number-only keyboards will show text input field no matter if this flag is set to true or false."
As far as I know, alphanumeric and so on doesn't matter, but single line is the important setting.