[Newbies] What is the regular way to create a StringMorph with a particular font size?
hannes.hirzel at gmail.com
Mon Apr 10 10:29:30 UTC 2017
I am wondering how a short version of constructing a StringMorph with
a particular TextStyle looks like.
The version which is attached works fine.
The question is mainly
How do I replace
(TextConstants at: #LiberationSans) fontArray at: 7
with something which directly refers to the point size?
And as a second question how do I get from the number of desired
screen pixels to the closest font size?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 21086 bytes
Desc: not available
More information about the Beginners