3 Replies Latest reply on Jun 11, 2010 2:24 AM by David_F57

    Delete scroll in Accordion's containers

    fagagou

      Hy,

       

      i have an Accordion like this:

       

      <mx:Accordion id="accordion" bottom="30"  left="20" openDuration="200" borderSkin="{null}" verticalGap="7" resizeToContent="true">
                  <!-- Define each panel using a VBox container. -->
                  <mx:VBox label="Le rappel du jour" >
                      <mx:Text htmlText="xx" />
                  </mx:VBox>
      
                  <mx:VBox label="Les promotions">
                      <mx:Text htmlText="one" />
      
                     <mx:Text htmlText="one" />
                     <mx:Text htmlText="one" />
                     <mx:Text htmlText="one" />
                  </mx:VBox>
           </mx:Accordion>
      

       

      The problem is that i have a scroll on all Vbox.... how to delete it and make Vobox has height of the content ?