[Cuis-dev] CheckButtonMoprh and fillColor

Mark Volkmann r.mark.volkmann at gmail.com
Sun Aug 11 13:26:27 PDT 2024


I suspect the issue is that there are methods CheckButtonMorph that use
borderColor when they should use fillColor.

On Sun, Aug 11, 2024 at 2:54 PM Mark Volkmann <r.mark.volkmann at gmail.com>
wrote:

> I'm struggling to understand the use of fillColor in CheckButtonMorph
> after studying the code for an hour. For example:
>
> cb := CheckButtonMorph new.
> cb fillColor: Color white.
> cb openInWorld.
>
> This will display a checkbox with a black, rounded border filled with
> white.
> If you hover over it, the fill color will change to gray.
> I see where that happens in the code. It is the border color with 50%
> opacity.
>
> If you move the mouse outside the checkbox, it will change to be filled
> with black.
> Is this intended? I'm trying to find a way to get it to return to the fill
> color I specified which is white.
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>


-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240811/62ff287c/attachment.htm>


More information about the Cuis-dev mailing list