Skip to content

Changing the label text causes a change in the text position #60

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

Closed
kmatch98 opened this issue Jul 2, 2020 · 4 comments
Closed

Changing the label text causes a change in the text position #60

kmatch98 opened this issue Jul 2, 2020 · 4 comments

Comments

@kmatch98
Copy link
Contributor

kmatch98 commented Jul 2, 2020

Using the example file display_text_background_color_padding.py the text "none" is changed to say "text". In the process, the "text" label changes position and walks down the screen.

I think that either the getter or setter for anchored_position is not working properly.

@kevinjwalters
Copy link

For libs from adafruit-circuitpython-bundle-5.x-mpy-20200703 (VERSIONS file tells me that's 2.7.6), I spotted something similar whilst investigating the second issue in Adafruit Forums: Clue_Plotter Problem, the one reported by Robertl. I first tried commented out the Button Guide in the main code which appeared to act as viable workaround for a MemoryError but then the text labels on the axis ticks wandered off the screen gradually as they changed.

@kmatch98
Copy link
Contributor Author

kmatch98 commented Jul 3, 2020

Thanks for the comment about the other related error. I think the recent fixes will repair the “wandering off” of labels when the text is updated, but I don’t understand the Memory Error that was indicated in the forum post. Any ideas about the root cause of that?

If there is another problem I’d like to be sure we consider it with any next updates (and try not to create any new ones!)

@kevinjwalters
Copy link

I put in #61 for the MemoryError.

@kmatch98
Copy link
Contributor Author

kmatch98 commented Jul 9, 2020

Resolved in #59
and #62

@kmatch98 kmatch98 closed this as completed Jul 9, 2020
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

No branches or pull requests

2 participants