*ListMorphs

Lex Spoon lex at cc.gatech.edu
Tue May 6 14:26:14 UTC 2003


tbr at mannynkapy.net (Tom Rushworth) wrote:
> On Sun, May 04, 2003 at 01:58:20PM +0100, Paul Chapman wrote:
> > Are there any plans to build versions of the various list morphs
> > which draw their rows directly instead of using a submorph for
> > every row?  For large lists the current implementation is very slow!
> 
> There are some LargeList enhancements floating around.  Check the
> list archives and the swiki.  My apologies for not having the
> references handy.
> > 
> > Cheers, Paul
> > 
> While we're on the subject of ListMorphs, all of the list morphs seem
> to expect the submorphs to be string/text morphs, and seem to provide
> the submorphs with (effectively) infinite width.  I want to display a
> list of more complicated morphs where each submorph is a window with
> 3 (or more) panes.  I want the submorphs to be laid out proportionally
> in the horizontal direction, but to be fixed size and scrolled in the
> vertical direction.  (For anyone who has used Quicken, think of how the
> list of transactions in an account is displayed.)
> 
> I just got such a morph working yesterday, but I had to make changes
> all over the place :(.  Now that I've proved to myself I can do it :),
> I can ask the list: is there an obvious, easy way to do this?  One that
> doesn't involve a dozen new classes and changes to many old classes?
> 


How about ScrollPane plus a table layout that is 1 column wide?  Maybe
that would work.

-Lex



More information about the Squeak-dev mailing list