TextMorph behavior

Marcus Pedersén marcus.pedersen at comhem.se
Wed Mar 22 20:14:33 UTC 2006


Hi!
I have been trying class TextMorph out for making an editable  
textfield for my GUI.
One thing I can't figure out is how to make the text "grow"  
horisontaly when you write instead of verticaly.
I am after the behavior similar to the spotlight search text field in  
mac. If you write loads of text the oldest text "dissapear" (visualy)  
on the left hand.
I have tried autoFit: false and wrapFlag: false without any desired  
results.
Doesn't TextMorph contain this functionality from start?
Do I need to subclass and write the function from scratch?
Many thanks in advance!
Marcus



More information about the Squeak-dev mailing list