MalisisCore

48M Downloads

UiTextField multiLine produces strange rendering

Dockter opened this issue ยท 1 comments

commented

If you create a UITextField, "text here", true, then when it is drawn on the screen, you get this:

http://www.almuramc.com/images/info2-1.png

If you put your cursor in the field and type anything or even a space, the text auto formats to the box and is displayed like this:

http://www.almuramc.com/images/info2-2.png

commented

I found the cause of this issue. I have to set the size of the widget before i do setText. If you don't or you set the text in the constructor the weird rendering affect happens.