Q: Updating TextMorph when embedded morph change size?

Alan Kay Alan.Kay at squeakland.org
Sun Mar 17 14:05:53 UTC 2002

There are two kinds of embeddings possible in text. One is to embed 
the morph as a text character. The other is to have text run around 
it. The second is called "avoid occlusions" in the red menu.




At 11:23 AM +0100 3/17/02, Karl Ramberg wrote:
>Lex Spoon wrote:
>>  Karl Ramberg <karl.ramberg at chello.se> wrote:
>>  > > 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.
>>  >
>>  Ah, and here I was hoping that a grand total of two projects might be
>>  using embedded morphs in text!
>No such luck :-)
>I've been looking around and found that TextPlusMorph has a nicer
>way of handling images/ anchors, text run around them in instead of
>making a huge line. I'm going to look into using TextPlus instead of
>Most of the logic of the tables are behaving somewhat predictable now,
>the problem with TextAnchors is the final obstacle.


More information about the Squeak-dev mailing list