0 Replies Latest reply on Apr 27, 2011 8:09 PM by AntiFreez

    Can we change Scroller.verticalScrollBar.pageSize parametr?

    AntiFreez

      I'm trying to scroll BorderContainer with a spark Scroller:

       

      <s:Scroller id="scroller" width="100" height="100">

             <s:Group id="container">

                   <s:layout>

                         <s:HorizontalLayout horizontalAlign="center" useVirtualLayout="true"/>

                   </s:layout>

       

                   <s:BorderContainer>

                         // Other components here

                   </s:BorderContainer>

               </s:Group>

      </s:Scroller>

       

       

      But the scroll delta in this case equals 1px !!! Therefore, i have tried to change

       

      scroller.verticalScrollBar.pageSize = 10; and/or scroller.verticalScrollBar.stepSize = 10;

       

      but this doesn't work...

       

      Any ideas?