Q: Updating TextMorph when embedded morph change size?
Lex Spoon
lex at cc.gatech.edu
Wed Mar 13 18:37:55 UTC 2002
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....
-Lex
More information about the Squeak-dev
mailing list
|