You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JMK expected a Button to act like a Label, in that it would be a Group that you would add to a Group. But Button is not a subclass of Group: It has a Group (.group), but it is not itself one.
i vaguely recall there was a reason i had to do it this way, like it wasnt working to make it a group subclass, but im almost sure its been fixed now. @makermelissa wanna try makin' it a group? it will either Totally Work or you'll bump into the thing i did.
Uh oh!
There was an error while loading. Please reload this page.
JMK expected a
Button
to act like aLabel
, in that it would be aGroup
that you would add to aGroup
. ButButton
is not a subclass ofGroup
: It has aGroup
(.group
), but it is not itself one.There is a mirrored page in Learn Guides with an example that assumes a
Button
is aGroup
:https://learn.adafruit.com/pyportal-calculator-using-the-displayio-ui-elements/ui-quickstart#button-3-15
https://learn.adafruit.com/circuitpython-display-support-using-displayio/ui-quickstart
Is it possible for it to be
Group
? If not, the examples should be fixed, and the documentation here should explain how to use.group
.Tagging @makermelissa @tannewt @ladyada
The text was updated successfully, but these errors were encountered: