Q: Updating TextMorph when embedded morph change size?

Karl Ramberg karl.ramberg at chello.se
Sun Mar 17 10:23:23 UTC 2002


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 
TextMorph. 

Most of the logic of the tables are behaving somewhat predictable now, 
the problem with TextAnchors is the final obstacle.

Karl



More information about the Squeak-dev mailing list