0 Replies Latest reply on Dec 12, 2007 4:08 PM by vshadow

    iChat like ditty (Text and maxWidth)

    vshadow
      I have been trying to create a little ditty that works like iChat (see here: http://www.mac.com/1/images/ichat_screeshot1_20051012.jpg).

      I am using a List with a custom item renderer and that works great when I extend the text/bubble to 100% of the parent, but that just looks lame when there is just a little text...

      AND then if I have a lot of text it won't wrap unless I give the text box a distinct width (which I do not want to do). Ideally I want to give the text box a MAXWIDTH and let it resize itself to not go beyond that width and not to span more of a width than is needed...

      Anyone?