AW: AW: Different text shapes
Daria Spescha
daria.spescha at id.unibe.ch
Thu Aug 19 13:49:14 UTC 2004
Thank you very much for your help!
My version was almost working and now I know where the problem was:
instead of setting the content string with #string:fontName: ... I used
#contents: which seems to be something quite different.
Thanks again!
Daria
Daria Spescha
Informatikdienste der Universität Bern
Gesellschaftsstrasse 6
3012 Bern
> -----Ursprüngliche Nachricht-----
> Von: squeak-dev-bounces at lists.squeakfoundation.org [mailto:squeak-dev-
> bounces at lists.squeakfoundation.org] Im Auftrag von Ned Konz
> Gesendet: Donnerstag, 19. August 2004 15:20
> An: The general-purpose Squeak developers list
> Betreff: Re: AW: Different text shapes
>
> On Thursday 19 August 2004 3:00 am, Daria Spescha wrote:
>
> > But if I just put your method in a subclass of EllipseMorph, there
is an
> > error message undefined message "is". (Line 4 of your code)
>
> That's obviously garbage. Sorry about that.
>
> > If I remove
> > this line, then nothing happens, the text just flows over the
ellipse.
> > Do I have to do something more (like call shrink wrap or something)?
>
> My earlier statement about telling the TextMorph to "fill owners
shape" is
> the
> important part that you missed.
>
> I think shrinkWrap would just get in the way.
>
> Attached is a whole class that does what I am describing.
>
> Enjoy,
> --
> Ned Konz
> http://bike-nomad.com
More information about the Squeak-dev
mailing list
|