*          "Do I have to use Pharo 3.0 to have black labels?"*

If you want to implement something for a customer, you should *not* use
Pharo 3.0. It is in alpha state which means you might have unexpected bugs
or VM crashes (even if the alpha version is currently quite stable). The
best for you would be to patch a Pharo 2.0. For example patch LabelModel
with :

LabelModel>>#text: aText
<api: #string getter: #getText registration: #whenTextChanged:>
"Set the text of the label"
 textHolder contents: (aText asText addAttribute: TextColor black)

Then all the LabelModels will be black.



2013/4/29 roberto.mine...@usi.ch <roberto.mine...@usi.ch>

> By the way I used a fresh Pharo 2.0 image and labels are still white :D
>
>
>
> Cheers,
> R
>
> On Apr 29, 2013, at 3:32 PM, Benjamin <
> benjamin.vanryseghem.ph...@gmail.com>
>  wrote:
>
> > I can't say because I never use Moose image
> >
> > Ben
> >
> > On Apr 29, 2013, at 3:07 PM, "roberto.mine...@usi.ch" <
> roberto.mine...@usi.ch> wrote:
> >
> >> By the way.. I often use the Moose image hosted at
> >>
> >>
> http://ci.inria.fr/moose/job/moose-latest-dev-4.8/lastSuccessfulBuild/artifact/moose-latest-dev-4.8.zip
> >>
> >> instead of the Pharo image.. And here Spec is not up to date.
> >>
> >> When I run the "System>Software Update" from the World menu, packages
> are not updated, right?
> >>
> >> I think it would be a nice-to-have.
> >>
> >> Cheers,
> >> R
> >>
> >>
> >>
> >> On Apr 29, 2013, at 2:07 PM, roberto.mine...@usi.ch wrote:
> >>
> >>> Thanks for the answers… I will update to the last image ;)
> >>>
> >>> On Apr 29, 2013, at 1:38 PM, Benjamin <
> benjamin.vanryseghem.ph...@gmail.com>
> >>> wrote:
> >>>
> >>>> In the latests image, it should be black :)
> >>>>
> >>>> Which image are you using ?
> >>>> Ben
> >>>>
> >>>> On Apr 29, 2013, at 12:27 PM, roberto.mine...@usi.ch wrote:
> >>>>
> >>>>> 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*

Reply via email to