Login  Register

Change list background color in Pharo with Spec

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Change list background color in Pharo with Spec

EstebanLM
6187 posts
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Change list background color in Pharo with Spec

Nicolai Hess
1347 posts



How about  this:

ListModel new
    items: (1 to: 10);
    backgroundColorBlock: [ :item :index |Color red ];
    openWithSpec.

(I am not registered at stackoverlfow, please forward).


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Change list background color in Pharo with Spec

Sean P. DeNigris
Administrator
5777 posts
Nicolai Hess wrote
(I am not registered at stackoverlfow, please forward).
Done.
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Change list background color in Pharo with Spec

Nicolai Hess
1347 posts
Thank you!


2014-05-30 17:15 GMT+02:00 Sean P. DeNigris <[hidden email]>:
Nicolai Hess wrote
> (I am not registered at stackoverlfow, please forward).

Done.



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Change-list-background-color-in-Pharo-with-Spec-tp4760977p4761012.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.