Quote:
Originally Posted by ATCOM
Hi I try to add this line code in button_.as to do the label of button left go to wordWrap:
LabelUp = this["a"];
LabelUp["txt"].selectable = false;
LabelUp["txt2"].selectable = false;
LabelUp["txt"].wordWrap = true; <---- Add this
LabelUp["txt2"].wordWrap = true;
LabelUp["txt"].setTextFormat(my_fmt);
LabelUp["txt2"].setTextFormat(my_fmt2);
But it dosn't work can you help me please?
Regards
ATCOM
|
Well... that text field must have autoSize = true and multiline = true...
I don't see why would you like to wordWrap that ? the second text field will stay in place... will not move down and you will have two text fields overlapping each other...