2 Replies Latest reply on Feb 22, 2008 10:16 AM by jylaxx

    Wordwrap of a Text control?

    Flex-o-change-o
      I'm trying to create a Text control that wordwraps. The documentation says wordwrap is the default behavior of a Text control, but I can't get it to work.

      Here is my sample application... I appreciate if someone could point me in the right direction:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:HBox maxWidth="200" horizontalScrollPolicy="off" borderStyle="solid">
      <mx:Text text="This is a long long long long long long long long long long long long long long line of text" />
      </mx:HBox>
      </mx:Application>