Changing the text/font color in a PluggableListMorph

Ned Konz ned at bike-nomad.com
Fri May 16 21:44:34 UTC 2003


On Friday 16 May 2003 11:33 am, Chris Becker wrote:
> > From: Ned Konz
> > ScrollPane>>itemColor: someColor
> > 	scroller submorphsDo: [ :m | m color: someColor ].
>
> This does change the submorph colors temporarily, but the colors
> revert back to the default (black) when the list is refreshed or
> items are deselected.

Ah yes.

> I can't figure out what tells the fonts to be displayed in black by
> default.

PluggableListMorph>>list: constructs the StringMorphs.

I've just posted a CS that adds textColor: and textHighlightColor: to 
PLMs.

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



More information about the Squeak-dev mailing list