pharo-graphics / Toplo

A widget framework on top of Bloc
MIT License
17 stars 8 forks source link

ToCheckbox indeterminateChild raise error and do nothing #87

Open Nyan11 opened 5 months ago

Nyan11 commented 5 months ago

Hello,

To reproduce

Do it in a Playground:

 ToCheckbox new
                  labelText: 'hello';
                  indeterminateChild;
                  yourself.

My error

image

plantec commented 5 months ago

The indeterminateChild is initialized when the skin is installed. So if one open the checkbox in a space, then, after the skin has been installed, a #indeterminateChild send answers the BlElement that is used to style an indeterminate state. To try it, open the checkbox in a space and inspect it. Then send #indeterminateChild in the inspector