I have a scrollbar skin that was created in Flash, but I've discovered
a problem when the vertical scrollbar is first displayed in a List
component.

When an item is added to a list causing the vertical scrollbar to be
drawn for the first time, there is a 1 pixel gap between the right
edge of the vertical scrollbar and the right side of the List. If an
additional item is added to the List then the scrollbar is correctly
redrawn flush against the right side of the List. The gap also
disappears if the browser window is resized. This also happens in the
DataGrid, but sometimes the DataGrid will automatically refresh itself
and draw the scrollbar correctly.

Anyone have any idea why the first time a vertical scrollbar is
displayed in a List there is a one pixel gap between the scrollbar and
the component's edge? I don't think it's the skin because the same
scrollbar is drawn correctly in other components.

By the way, I've got the borderStyle set to "none" but the gap appears
regardless of whether or not the borderStyle is set to "none" or "solid".

Thanks for any suggestions!

Paul

Reply via email to