It depends on the theme used. The Watery ones specifically standardise the window colours... I notice that OB does a lot to force colours rather than relying on the paneColor, hence the mismatches. Also, a few cases of #adoptPaneColor: where the superclass implementation is not called. I'm sure we can work together to iron out the wrinkles. Regards, Gary. ----- Original Message ----- From: "David Röthlisberger" <squeak@webcitas.ch> To: "Pharo Development" <pharo-project@lists.gforge.inria.fr> Sent: Friday, November 28, 2008 1:16 PM Subject: Re: [Pharo-project] OB Button colors
When loading polymorph with Watery2 theme and SuperOB using the ScriptLoader the buttons in OB tend to become green again after some clicking ...
hm, Polymorph doesn't seem to honor what you specify in #defaultBackgroundColor of a model object for SystemWindow. Instead it always uses this gray color, while OB is thinking that the default background color it specifies gets used. This is a problem of Polymorph I think, so I won't fix that in OB.
Cheers, David
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project