Hello,
there seems to be a bug in the trusty old ScrollWrapper that affects the
new Panel class.
To watch the bug in action:
- open a browser
- select "Base Visual Works"
- go to the prerequisites tool
- expand a few prerequisites, so that the scrollbar is enabled
- scroll down
- resize the window horizontally
- the top of the view is now visible, although the scrollbar is not at
its top position
- scrollling up reveals a lot of empty space
I think the ScrollWrapper is to blame, because it inherits the following
implementation:
TranslatingWrapper>>setComponentBoundsTo: newBounds
component bounds: (newBounds translatedBy: self translation negated)
The translation is the scroll position, which should not affect the
component bounds.
Patch:
ScrollWrapper>>setComponentBoundsTo: newBounds
self component bounds: newBounds
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc