How to constraint the growth of text

stéphane ducasse ducasse at iam.unibe.ch
Wed Feb 9 19:47:28 UTC 2005


Hi

I have the following problem. When I put a Text into a larger morph
when I typed character the text grows first in the left then when the 
first character arrives to the
leftmost border of its owner it starts to grow in the other direction.

I would like that the text only grows in the right direction. How 
should I do that. I tried to play with
setAdhereToEdge:, removing it....

I added a BorderedMorph inside the first morph and put the text inside 
and it worked but I would like to know if there is another way to do 
that.

Thanks in advance

Stef




More information about the Squeak-dev mailing list