[Newbies] TextMorph adapting size to contents

pascal.vollmer at nexgo.de pascal.vollmer at nexgo.de
Sat May 31 16:32:30 UTC 2008


Hi,

I am looking for a TextMorph which adapts its size to an arbitrarily sized content.

By trial and error I could find that 

(TextMorph new 
	contents: 'abcdefghijklmnopqrstuvwxyz';
	fontName: 'Accuny' pointSize: 24;
	wrapFlag: true;
	autoFit: true;
	wrapFlag: false) openInWorld

does the job. However to turn on and off again the wrapFlag is not really satisfactory.
Is there a better solution ?

Kind regards
Pascal

Pascal Vollmer
Email: pascal.vollmer at ieee.org

Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und optional 60 Pay TV Sender, einen elektronischen Programmführer mit Movie Star Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und spannende Dokus in der Arcor-Videothek. Infos unter www.arcor.de/tv


More information about the Beginners mailing list