Left hand scroll bar in Flex
Scroll bars appear on the right in Flex (as with everything else) but it can sometimes be useful to move it across to the left. This simple technique of overwriting the updateDisplayList method puts it on the left:
protected override function updateDisplayList(w:Number, h:Number):void
{
super.updateDisplayList(w, h);if( verticalScrollBar && verticalScrollBar.visible )
{
verticalScrollBar.scrollRect = new Rectangle(w,0,-w,h);
}
}
-
Calendar
May 2012 M T W T F S S « Mar 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta





