This content has been marked as final. Show 3 replies
Have you tried specifying a height for the HScrollBar and a width for the VScrollBar? I see in the example that you have width set, but not height.
It appears that you need to specify pageSize="400". pageSize is the number of visible units (maxScrollPos + pageSize is the max unit). Width doesn't get factored into the calculations until layout time
Don't forget, there are scrollbars built into Containers and ScrollControlBase
peterent - I have tried setting both width and height on ScrollBars in the past, I didn't for this example just to cut down on superfluous code. If you don't set it, it uses the default so there should be no problem....
Flex harUI - the pageSize property did the trick! Thank you so much! I have no idea how I have been overlooking the property all this time...
BTW, you're right, the above example does not technically *need* the scroll bar... it is a simplification of another custom component that, for layout purposes, does need the scroll bar to be separate.
Again, thanks both of you for your help!