views:

14

answers:

1

I have a spark.components.List component on which I would like the vertival scroll to be visible by default. Any ideas?

A: 

You can do this via its scroller verticalScrollPolicy style. Try this to always show the vertical scrollbar for all lists:

@namespace s "library://ns.adobe.com/flex/spark";

s|List s|Scroller {
    verticalScrollPolicy: on;
}
Dave
Thanks alot. so that means I can also do: list.scroller.setStyle("verticalScrollPolicy","on");
Tarek