2 Replies Latest reply on Nov 6, 2007 6:47 AM by Gregory Lafrance

    creationPolicy Causing Goofiness

    AwesomeDigital3 Level 1
      In the code below, the text in the FormHeading gets chopped off after about 100 pixels.
      But it shows everything if I
      Remove the creationPolicy attribute
      or
      Move the second form to be first in the Accordion

      Can somebody else try this and tell me if it does the same for them.

      Also, sould anybody suggest a work around?

      Thanks
      Mathias



      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns:comp="components.*" layout="absolute" width="1000" viewSourceURL="srcview/index.html">
      <mx:Panel y="55"
      height="90%"
      width="60%">

      <mx:Accordion width="100%" height="100%" creationPolicy="all">
      <mx:Form id="one" label="form #1">
      <mx:Label text="Something here..." fontWeight="bold" />
      </mx:Form>
      <mx:Form id="two" label="form #2">
      <mx:FormHeading color="red" label="This is a really long heading" />
      </mx:Form>
      </mx:Accordion>
      </mx:Panel>
      </mx:Application>