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
2010-10-06 19:48:22
Thanks alot. so that means I can also do: list.scroller.setStyle("verticalScrollPolicy","on");
Tarek
2010-10-06 21:08:26