1 Reply Latest reply on Jun 15, 2010 5:21 PM by Shongrunden

    How to conrol scoller in BorderContainer

    AMIR820321548863 Level 1

      Hello

       

      Does anyone know how to control the scoller in a BorderContainer ?

       

      The page on the application is to big to fit in the page and I cant activate the scoller in order to to see

      the rest of the page.

       

      Thanks

      Amir

       

        • 1. Re: How to conrol scoller in BorderContainer
          Shongrunden Adobe Employee

          You could wrap the BorderContainer in a Group+Scroller, for example:

           

          <s:Application  xmlns:fx="http://ns.adobe.com/mxml/2009"
                          xmlns:s="library://ns.adobe.com/flex/spark"
                          width="100%" height="100%">
             
              <s:Scroller width="100%" height="100%">
                  <s:Group>
                      <s:BorderContainer borderColor="red" width="1000" height="1000">
                          <s:Label text="large BorderContainer" />
                      </s:BorderContainer>
                  </s:Group>
              </s:Scroller>
             
          </s:Application>