Color problem for PluggableButtonMorph
Hilaire Fernandes
hilaire at ext.cri74.org
Sun Dec 18 16:11:47 UTC 2005
Is the same happening if you move the button color: Color brown message
after opening in the display your SystemWindow?
I have also seen strange things depending on when you set your message
(after or before an openInDisplay message)
Robert Hawley a écrit :
> In an application using SystemWindow I am trying to set the colour of a PluggableButtonMorph. When I run the application, the button initially displays without a color (i.e., white). It is only when I click on it that it shows the default color (light green). It never shows the colour that I am trying to set using ....color: Color brown;.... in my 'open' method.
>
> It seems to me that if I specify a color when I create the PluggableButtonMorph then the other code in SystemWindow ought not to override that perference. Is this fixable?
>
> [Notes: The case I am describing is not using onColor:offColor: option. The behaviour still applies if I switch off alternativeWindowLook. I'm using 3.8.]
>
>
More information about the Squeak-dev
mailing list
|