2 Replies Latest reply on Sep 2, 2010 12:40 PM by betheflexcoder

    how to explicitly resize a flex container

    betheflexcoder Level 2

      How can we explicitly resize a flex container, or a spark container?

        • 1. Re: how to explicitly resize a flex container
          Gregory Lafrance Level 6

          You set the width and height properties of the container.

           

          Simple question == simple answer.

           

          If this post answers your question or helps, please mark it as such.


          Greg Lafrance - Flex 2 and 3 ACE certified

          www.ChikaraDev.com

          Flex Training and Support Services

          • 2. Re: how to explicitly resize a flex container
            betheflexcoder Level 2

            But, I have to set the container size in percentage. Here is my case,

             

             

            I have a popup window which has three tabs A, B, and C. My tab A has BorderContainer > Scroller > Vgroup

             

            When opened for the first time, I can see the scroller. But , when opened for the second time, the scroller does not appear and the content in th Border container seems truncated.

             

            Basically, this should be a resizing issue. When I open my

            popup for the first time, I am fetching data from backend and sizes accordingly , but for the second time the data is already there in cache.

            So, i guess it is not resizing as it has the

            data already.

             

            Please suggest if i can explicitly resize my container in this case.