Closed jpecor closed 5 years ago
@jpecor see if you can fix it, try changing the if to
if (outline_color is not None) or (fill_color is not None)
instead!
Yes, that will work.
Is it the intent to allow "transparent" buttons by setting the outline/fill to None, then? It's a nifty feature that I didn't really even realize was possible until I was doing some testing with this issue.
I can submit a PR with your recommended fix. That works.
yes thats right, it allows transparancy, a PR would be great :)
Ok, great. Thanks!
Thanks ladyada!
Fixed via #11
The
if outline_color or fill color:
check fails when both _fillcolor and _outlinecolor are set to 0x000000. As a result, the body style formatting is never applied, and the button is not added to the display group.