LineBreak / NewLine in Flex Text Control from XML String
Wednesday, October 27th, 2010Unfortunately the standard way (‘\n’) of inserting new lines in Flex Text Controls (Label, Text etc) doesn’t work when the string comes from XML.
The magical way to do it is by using ‘ ‘ so
Lorem Ipsum becomes
Lorem
Ipsum