[Cuis-dev] CheckButtonMoprh and fillColor

Mark Volkmann r.mark.volkmann at gmail.com
Sun Aug 11 12:54:43 PDT 2024


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240811/a5e5c4ce/attachment.htm>


More information about the Cuis-dev mailing list