Q: Updating TextMorph when embedded morph change size?

Karl Ramberg karl.ramberg at chello.se
Thu Mar 14 17:32:03 UTC 2002


Lex Spoon wrote:
> 
> Karl Ramberg <karl.ramberg at chello.se> wrote:
> 
> > That's exactly the problem, and looking at layoutChanged I see
> >
> > TextMorph>> layoutChanged
> >         "self releaseParagraph."
> >          super layoutChanged
> >
> > Uncommenting the self realeaseParagraph give me what I want but also
> > makes some unwanted behavior in the image, like walkbacks when opening
> > inspectors etc.
> > So sending releaseParagraph and then layoutChanged to the TextMorph
> > seems to
> > solve my most immediate problems.
> >
> 
> This affects Scamper, too.  When images finish downloading, the text
> doesn't get laid out again.  I poked around a little and got no further
> than Karl has.  I seem to remember this working once upon a time....

It's actually in Scamper I'm having the issues, too, making tables
with morphs that grow as they are rendered. But the problem is 
more general as it also affects layout of all sorts of text with 
images or morphs that may change in size.

Karl



More information about the Squeak-dev mailing list