Badcreature / mad-components

Automatically exported from code.google.com/p/mad-components
0 stars 0 forks source link

multiline UIInput #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I try to implement multi line textarea,only find one solution:

input=UIInput(UI.findViewById("details"));
var label:UIBlueText=input.inputField;
label.multiline=true;
label.autoSize=TextFieldAutoSize.NONE;
label.height=100;
input.drawOutline();

UIInput.drawOutline() is protected, I have to import all source code and change 
it to public.

maybe there is another better way?

thanks.

Original issue reported on code.google.com by sunnyaw...@gmail.com on 20 Feb 2014 at 3:13