1 Reply Latest reply on Jan 25, 2010 10:44 AM by Gregory Lafrance

    Text container that wraps lines and grows vertically to the size of the text?

    rexdtripod Level 1

      Trying to build a chat box view.  I'm at the stage where I create the list of messages.  Each message should contain a user icon, formatted user name, and the message text.  The message text part is the thing that's getting me.  It could be of varying length, so it will need to wrap.  It's container will, therefore, need to size vertically depending on the text length.


      I have an item renderer now that does all but the vertical sizing based on text length.  It's an HBox component with an icon and a text area in it.  Not quite getting it.  The text scrolls instead of wrapping and expanding vertically.


      Any ideas?