0 Replies Latest reply on Nov 20, 2012 10:23 AM by PacMan___

    Problem with Spark List horizontalScrollPosition

    PacMan___

      Hi,

      When I resize the List I cannot update myList.scroller.viewport.horizontalScrollPosition to a larger value than myList.dataGroup.contentWidth. The problem is that the myList.dataGroup.contentWidth hasn't been updated yet.

      I'm using the myList.scroller.viewport.addEventListener(Event.RESIZE,updateAfterResize); to try updating the horizontalScrollPosition in a whay that i maintain the same visible item in the list.

       

      This problem occurs when the list goes from small to big (x2).

       

      Is there an event that is only dispatched after everything in the list is resized, datagroup, scroller, viewport, etc????