ScrollingDecorator

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ScrollingDecorator

Bill Schwab-2
Andy,

I was having some trouble with scrollbars not appearing, and found the
following workaround in the archives:

    aView preferredExtent:aPoint.
    aView topShell validateLayout.

So far, that appears to have fixed it.  Is there a better way?

Do you have any suggestions for getting only a vertical scrollbar to appear?
Currently, I set the width of the decorator in #onPositionChanged: and that
seems to work, though it seems like there should be an easier way.  At one
point, I subclassed ScrollingDecorator (successfully) but didn't stick with
it because, at the time, I had only one app that needed it and the sizing
trick was reasonably easy to do.  I now have a few apps that do the same
basic thing, and would like to find a simpler solution.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]