[Squeakland] Value as Text
Bert Freudenberg
bert at freudenbergs.de
Thu Jun 14 01:21:04 PDT 2007
On Jun 14, 2007, at 8:59 , subbukk wrote:
> Hi,
>
> How do I make a TextMorph track the numeric value of another Morph
> (say
> SliderMorph's numericValue or Holder's count)? This is so I could
> use larger
> fonts and sizes for the numbers.
Well, the canonical way is that you make a script for your Text that
defines its behavior:
Text's numericValue <- Slider's numericValue
OTOH you can just bring up the halo on a watcher's readout and choose
"change font" from its halo menu. You can even take the readout
string out of the watcher using its black handle (or duplicate using
the green one), it still works.
- Bert -
More information about the Squeakland
mailing list