Problem with PluggableButtonMorph?

Bob Arning arning at charm.net
Wed Jan 17 05:41:22 UTC 2001


On Tue, 16 Jan 2001 23:35:24 -0500 Kevin Fisher <kgf at golden.net> wrote:
>Incidentally I did notice a very small change to the AlignmentMorph behaviour 
>with respect to calculating it's extent.  If you add some morphs to an 
>AlignmentMorph, the extent of the AlignmentMorph doesn't get updated to the 
>'new' extent until you open it in the world.  In the pre-rewrite days, adding 
>the unmapped AlignmentMorph to another Morph would force the recalculation of 
>it's extent as though it had been opened in the World.  Post rewrite, it does 
>not do this anymore (I used to use this little gimmick :).  Could this be 
>related?

Kevin,

Not directly, but it's a good point to mention. Recent changes reduced excessive recalculation of a morphs bounds and this leads to their appearing incorrect at times. If you need to know what they really are, send #fullBounds to the morph to force recalculation if needed.

Cheers,
Bob





More information about the Squeak-dev mailing list