[FIX] ThumbnailScaling-nk

Lex Spoon lex at cc.gatech.edu
Sun Oct 21 19:57:36 UTC 2001


> Perhaps we could move this logic into a method in Morph similar to
> Morph>>representativeNoTallerThan: maxHeight norWiderThan: maxWidth 
> thumbnailHeight: thumbnailHeight
> that always returns a Thumbnail with specified size constraints, thus giving 
> each Morph a chance to override this logic.


That sounds like an excellent design, Ned!  Why three arguments, though,
instead of just two (width and height) ?  What's the difference between
the thumbnail height and the max height?

-Lex




More information about the Squeak-dev mailing list