How can the text in a Label control (or a similar control) be wrapped in Flex 4 beta? In Flex 3 I could use the Text control but this is no longer available in Flex 4.
A:
Try <s:SimpleText />
. From the excellent Migration Guide (p. 75):
The lightest-weight component of the text primitives. The SimpleText class supports the least number of text features. This class is similar to the Label class, except that it supports multiple lines. It does not support user ineractivity such as selection, editing, or scrolling.
Hope that helps!
Christian Nunciato
2009-07-16 16:38:45
perfect! and thanks for the link to the migration guide! very good stuff.
Keith
2009-07-16 17:49:08
Note: SimpleText no longer exists. It has been replaced by Label in Flex 4.
Rob
2010-02-21 00:57:23