Now the default colour is specified in the corresponding Spec (LabelSpec here)

Otherwise, you should be able to specify the colour by sending the message color: too, but some morphs are slightly broken from this point of view :s
Ben

On Apr 29, 2013, at 1:45 PM, Cl�ment Bera <bera.clement@gmail.com> wrote:

I don't know any easy way to do it right now.

What I would do, as LabelModel>>#text: can take a Text instance as argument, is :
self text: ('the string I want to display' asText addAttribute: TextColor red) 

But of course it is not very good. 

Clement


2013/4/29 roberto.minelli@usi.ch <roberto.minelli@usi.ch>
Hi,

I'm building a small UI with spec and I have a problem with the LabelModel.

Is there any way to change the default color (white) of the #text: in a LabelModel?

Thanks,
Roberto



--
Cl�ment B�ra
Mate Virtual Machine Engineer
B�timent B 40, avenue Halley 59650 Villeneuve d'Ascq