textarea - TextField Not horizontal scrolling with text[Titanium] -
i want textarea scroll horizontally once test string has exceeded width of textarea. tried below code, however, not work reason.
i tried adding wrapper view scroll view , adding textarea wrapper view; not work either.
how can fix ?
var scroll = ti.ui.createscrollview({ top:40, left:230, width:290, height:50 }); win.add(scroll); var texttype = ti.ui.createtextarea({ backgroundcolor:'#e6e6e6', bordercolor:'blue', borderradius:10, top:0, left:0, width:290, height:50, font:{fontsize:26, fontfamily:customfont}, editable:false, enabled:false, textalign:'right', scrollable:true }); scroll.add(texttype);
i know sound simple but, default text area vertical scrollable. , behavior know of it. have tried different properties like:
layout:"horizontal", horizontalwrap:true, scrollable:true,
but has not resolve issue.
Comments
Post a Comment