[ENH][FIX] TextMorphFontNumberInScripting-nk

Ned Konz ned at bike-nomad.com
Thu Apr 12 22:23:10 UTC 2001


from preamble:

"Change Set:		TextMorphFontNumberInScripting-nk
Date:			12 April 2001
Author:			Ned Konz


This adds a slot called fontNumber to TextMorphs
so that their font size can be controlled through scripting.

You can now set the fontStyle (e.g. ComicBold) manually,
and make a script set or change the font number.

This doesn't work if there are no characters in the text.
It returns 1 in those cases, and setting the size doesn't
do anything.

Includes a fix by Karl Ramberg for TextMorph class>>initialize.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TextMorphFontNumberInScripting-nk.cs.gz
Type: application/octet-stream
Size: 1099 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010412/7d3009db/TextMorphFontNumberInScripting-nk.cs.obj


More information about the Squeak-dev mailing list