The Mystery of the Morph

Ned Konz ned at squeakland.org
Sat Feb 14 18:43:51 UTC 2004


On Saturday 14 February 2004 3:15 am, Trygve Reenskaug wrote:
> m listDirection: #topToBottom.
> m listDirection: #rightToLeft.
>
> WE NOW HAVE THREE CIRCLES STACKED ON TOP OF EACH ORDER WITHIN A SQUARE!!!
>
> I must be missing something. But what?

You're not missing something. It looks like Morph>>adjustLayoutBounds is 
broken in the case where the submorphBounds origin is not the same as the 
original layoutBounds origin.

So changing from a vertical layout to #rightToLeft, or changing from a 
horizontal layout to #bottomToTop doesn't work right.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list