actionscript 3 - Flex text item renderer multiple row -
i'm building item renderer in order have list of these. in these item renderer there first part text component should have 2 rows of text , truncate it, second part label. i'm trying find how put text component on 2 rows. can me?
thanks
use vgroup. inside place 2 textarea components.
place inside hgroup alongside label
<s:hgroup left="10" right="10" top="10" bottom="10"> <s:vgroup left="10" right="10" top="10" bottom="10" gap="0"> <s:textarea id="row1_text" width="400" height="100"/> <s:textarea id="row2_text" width="400" height="100"/> </s:vgroup> <s:label id="mylabel"/> </s:hgroup>
Comments
Post a Comment