Skip to content

Conversation

@lesamouraipourpre
Copy link
Contributor

Remove max_size usage with displayio.Group

Ref: #1603

Learn Guide: https://learn.adafruit.com/clue-i-ching-caster
No apparent changes needed to learn guide

Copy link
Collaborator

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks good to me, and the specific max_size change did test successfully on a CLUE device.

If you're up to it can you make one more minor change? It's unrelated to max_size but I noticed while testing this that the text in this project is not vertically centered as it appears like it should be based on the images in the guide.

On this line:

hexname.anchor_point = (0.5, 0.0)

the second value in the anchor_point should be 0.5 instead of 0.0

As the code is written now the text is shifted too far down:
image

With 0.5 as the second value in the anchor_point it appears in the center matching the images in the guide:
image

Copy link
Collaborator

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@FoamyGuy FoamyGuy merged commit c75e309 into adafruit:main Jul 25, 2021
@lesamouraipourpre lesamouraipourpre deleted the i-ching branch July 28, 2021 16:16
@TheKitty
Copy link
Collaborator

Verified guide ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants