Changing the text/font color in a PluggableListMorph

Ned Konz ned at bike-nomad.com
Fri May 16 17:15:16 UTC 2003


On Friday 16 May 2003 09:59 am, Chris Becker wrote:

> I'm looking for a way to change the text/font color of a
> PluggableListMorph. I've successfully used a method in
> PluggableTextMorph called 'setTextColor:', but there is no similar
> capability in the list morph. I'd like all submorphs in the list
> morph to have the new text color.
>
> Does anyone know of a simple solution?

ScrollPane>>itemColor: someColor
	scroller submorphsDo: [ :m | m color: someColor ].

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list