0 Replies Latest reply on Mar 8, 2007 12:14 PM by flabbygums

    Accordion multi-line label

    flabbygums
      I'm trying to figure out how to make the label in my accordion multi line - I can't seem to figure it w/ styles. I could probably do it w/ html text.. but if there's an easier way. I'm wondering why can't I just drill down to the text label in the component and edit?? I read that Text Control will do multi-line but how the heck to I get that into this accordion?

      Can anybody please help me get on the right path. Is this going to involve code to equate the text label with a text field?

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:Accordion x="382" y="126" width="400" height="400">
      <mx:Canvas label="Accordion Pane 1" width="421" height="450">
      </mx:Canvas>
      <mx:Tile label="This is an example of a multiline text string in a Text control." width="100%" height="100%" fontFamily="Georgia" fontSize="26" color="#8080ff"></mx:Tile>
      </mx:Accordion>
      </mx:Application>