This content has been marked as final. Show 3 replies
There's not going to be a simple way to do it. I think your greatest chance of success lies in 2 method overrides:
1) Override updateDisplayList() and position the vertical scrollbar after calling super.updateDisplayList().
2) Override layoutRow(). This method takes a starting x position for the items in the row (paramter is "xx"). Before calling super, add the width of the verticalScrollBar to this value, like so:
override protected function layoutRow(more:Boolean,xx:Number,hh:Number):Number
if(this.verticalScrollBar && this.verticalScrollBar.visible)
xx += this.verticalScrollBar.width;
super.layoutRow(more, xx, hh);
Hope that helps.
Given that I'm a novice at Flex I think I'll struggle with your solution but I'll give it a go. I was hoping for something simple like selecting a right-left language to force it over!
Many thanks for taking the trouble to help.