3 Replies Latest reply on Jun 6, 2008 1:27 PM by Shelady

    Why word wrapping which is on by default is not happening here?

    Shelady
      Hi,
      In my accordion, I dont want to provide line breaks but I want the text to be word wrap automartically but it is not not happening. On the first tab, I have provided the line break so everything is fine but rest of the tabs have truncated text.
      Why?
      Thanks

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="vertical"
      backgroundGradientColors="[#000000, #660707]"
      verticalScrollPolicy="off" backgroundGradientAlphas="[1.0, 1.0]">

      <mx:Style>
      VBOX {
      borderColor: #000000;
      borderStyle: outset;
      borderThisckness: 2;
      }
      </mx:Style>



      <mx:Accordion id="myAccordion" width="600">
      <mx:VBox id="ms" label="Microsoft" width="100%" height="500" horizontalScrollPolicy="off">

      <mx:HBox horizontalScrollPolicy="off">
      <mx:HBox horizontalScrollPolicy="off">
      <mx:Image source="assets/microsoft4SBTH.jpg" height="80" width="80"/>
      </mx:HBox>
      <mx:HBox horizontalScrollPolicy="off">
      <mx:Text text="Microsoft is the best in wondows. Yes they are really good and getting better each and {'\n'}every day. They have introduce Windows 7 and launcing the exams too."/>
      </mx:HBox>
      </mx:HBox>
      </mx:VBox>
      <mx:VBox id="cs" label="Cisco" width="100%" height="500" horizontalScrollPolicy="off">

      <mx:HBox horizontalScrollPolicy="off">
      <mx:HBox>

      <mx:Image source="assets/c.jpg" height="80" width="80"/>
      </mx:HBox>
      <mx:HBox horizontalScrollPolicy="off">
      <mx:Text text="Microsoft is the best in wondows. Yes they are really good and getting better each and every day. They have introduce Windows 7 and launcing the exams too."/>
      </mx:HBox>

      </mx:HBox>
      </mx:VBox>
      <mx:VBox id="st" label="Symantec" width="100%" height="500" horizontalScrollPolicy="off">

      <mx:HBox horizontalScrollPolicy="off">
      <mx:HBox>
      <mx:Image source="assets/Symantec.jpg" height="80" width="80"/>
      </mx:HBox>
      <mx:HBox horizontalScrollPolicy="off">
      <mx:Text text="Microsoft is the best in wondows. Yes they are really good and getting better each and every day.{'\n'} They have introduce Windows 7 and launcing the exams too."/>
      </mx:HBox>

      </mx:HBox>
      </mx:VBox>
      <mx:VBox id="vm" label="VMWare" width="100%" height="500" horizontalScrollPolicy="off">

      <mx:HBox horizontalScrollPolicy="off">
      <mx:HBox>
      <mx:Image source="assets/vmware4SBTH.jpg" height="80" width="80"/>
      </mx:HBox>
      <mx:HBox horizontalScrollPolicy="off">
      <mx:Text text="Microsoft is the best in wondows. Yes they are really good and getting better each and every day. {'\n'}They have introduce Windows 7 and launcing the exams too."/>
      </mx:HBox>

      </mx:HBox>
      </mx:VBox>
      <mx:VBox id="ct" label="Citrix" width="100%" height="500" horizontalScrollPolicy="off">

      <mx:HBox >
      <mx:HBox>
      <mx:Image source="assets/Citrix_Logo.jpg" height="80" width="80"/>
      </mx:HBox>
      <mx:HBox horizontalScrollPolicy="off">
      <mx:Text text="Microsoft is the best in wondows. Yes they are really good and getting better each and every day. {'\n'}They have introduce Windows 7 and launcing the exams too."/>
      </mx:HBox>

      </mx:HBox>
      </mx:VBox>
      </mx:Accordion>







      </mx:Application>