-
Notifications
You must be signed in to change notification settings - Fork 789
Remove max_size and max_glyphs from CircuitPython examples #1603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@lesamouraipourpre Unfortunately, this is pretty much the only way to do it. Thank you for making this list! This update needs to be made, and updating the code is a great first step. Not all guides will have associated walk-throughs or text requiring changes, but guarantee that some of them will. Perhaps @FoamyGuy is up for assisting with this on the Learn guide side of things? |
Not a problem, I will try to start working through these. A potential issue noticed on @FoamyGuy 's stream on Saturday was that some Learn Guides were written for CircuitPython 3 (and possibly earlier) and may need other changes. As I don't have the hardware for most of the guides, I will focus on the |
All current Learn guides have had |
wooohoo! thank you :) |
Uh oh!
There was an error while loading. Please reload this page.
The
max_size
parameter ondisplayio.Group
is currently ignored and is (hopefully) going to be removed before 7.0.0 final.The libraries are having this parameter removed from them - adafruit/circuitpython#4959
Edit: I've update the grep to look for
max_glyphs
related to DIsplay_Text Label as well.This issue is intended as a tracking issue as the Learn Guide code is worked through
{ grep -r "Group.*max_size" * && grep -r "max_glyphs" * ; } | sed -e "s/\/.*//" | sort | uniq
to give directories{ grep -r "Group.*max_size" * && grep -r "max_glyphs" * ; } | grep -v "_JEplayer_" | sort
gives (updated 2021/08/06 14:20 BST)If the associated Learn Guide text needs updated I will make a comment on any created PRs. Is there a better way to do this @kattni or @makermelissa ?
The text was updated successfully, but these errors were encountered: