Try NewTextMorph!
t := NewTextMorph new.
t
borderWidth: 1;
borderColor: Color red;
color: Color white;
padding: 5 ;
readOnly: true;
autoFit: true ;
text: 'I present my text as read only ' asText ;
openInWorld.
Fernando
On Aug 7, 2010, at 12:26 PM, Carla F. Griggio wrote:
> Hi again, everyone!
>
> I think this might be really really silly, but I couldn't find a way to show
> a TextMorph without the ability to edit it's text.
> If I use a StringMorph to show a paragraph, it looks horrible, but if I use a
> TextMorph and click on it, a blue border appears and I'm able to edit the
> text, I don't want that to happen.
>
> Is there another morph for showing text that only shows text and nothing
> else? Or a property of TextMorph that I'm missing?
>
>
> Thanks!
> Carla
> <ATT00001..txt>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project