[Cuis-dev] CheckButtonMoprh and fillColor

Hilaire Fernandes hfern at free.fr
Mon Aug 12 09:29:17 PDT 2024


I think you are right regarding the behavior, it is not optimal nor 
coherent with menu item

What about something like that :

Le 11/08/2024 à 23:24, Mark Volkmann via Cuis-dev a écrit :
> That was helpful!
> I see now that by default:
> - It is initially filled with the border color and that represents 
> being unchecked.
> - Hovering over it changes the fill to be the border color with 50% 
> opacity.
> - Clicking it causes the fill to change to the value of the color 
> instance variable (defaults to white) and display a checkmark that is 
> always black.
> - There is no point in setting the fillColor instance variable because 
> it will just get changed as soon as you hover over the morph.
>
> I think I want something that behaves more like a browser checkbox or
> like the checkboxes in the morph menu items "resist being picked up" 
> and "be locked".
> Just an opinion, but having a checkbox that is filled when not checked 
> might make some users think it is checked.

-- 
GNU Dr. Geo
http://gnu.org/s/dr-geo/
http://gnu-drgeo.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240812/0c1565e8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0BihzWiy7Aj3yNnh.png
Type: image/png
Size: 7540 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240812/0c1565e8/attachment.png>


More information about the Cuis-dev mailing list