2 Replies Latest reply on Dec 11, 2009 10:38 AM by rushbond

    Dynamic Tab Width ?

    DaSoccerBomb

      Does anyone know how to make the tabwidth automatically adjust depending on the size of the browser?  (Just like this site http://www.picnik.com/app)

       

      thanks for your help

        • 1. Re: Dynamic Tab Width ?
          rushbond Level 1
          You can capture the browser resize (change in lenght or width ) event in javascript  and inside that method call flex method to increase or decrease the size of the flex components .
          If this post help you to resolve your question .Please mark as "correct" or "helpful"
          • 2. Re: Dynamic Tab Width ?
            rushbond Level 1

            I observed picnik.com ,th website is having flex/flash component which  uses 100% of width of browser .so in order to dynamically changing the width of Tab you need to capture resize (mx.events.ResizeEvent)  event of application component  (mx.core.Application)  and inside that method change the tab width accordingly .

             

            If this post help you to resolve your question .Please mark as "correct" or "helpful"

             

            Thanks

            Rushit Patel