[RFI] horizontal scrolling

Doug Way dway at riskmetrics.com
Thu Oct 11 23:48:03 UTC 2001


David Farber wrote:
> 
> got a Request For Implementation here. would someone be kind enough to add
> horizontal scrolling ability to ScrollPane? there are lots of lists
> (PluggableListMorph which inherits from ScrollPane) in the Squeak UI that
> run off the right side of the pane. in some extreme cases, like a deep
> hierarchy in a hierarchy browser, its not possible to make the window/pane
> big enough to be able to usefully fit in all of the list contents
> horizontally.

Well, there is TwoWayScrollPane, if you need horizontal scrolling for your own morph, which you may already know about.

But yeah, it might be nice to have optional horizontal scrolling ability built into ScrollPane, so that PluggableListMorph, PluggableTextMorph etc. can inherit the behavior.  (There is a fair amount of code duplication between ScrollPane and TwoWayScrollPane anyway.)  With PluggableTextMorph, it would be cool to be able to use a halo to toggle between the current "wrapping" mode without horizontal scrollbars, and a non-text-wrapping mode with horizontal scrollbars.

It'd be a bit of work, though. (i.e. I'm not volunteering. :) )

- Doug Way
  dway at riskmetrics.com




More information about the Squeak-dev mailing list