Replies: 2 comments 5 replies
-
Hi, unfortunately this is a known limitation because the new text is drawn over the old one (to save some time by not erasing it first). Hopefully there are some ways to fix it like we made for the system monitor:
text_watt=f"{your_numeric_watt_val:>5}W" # Text is aligned to the right, 5 chars of padding are added to the left
|
Beta Was this translation helpful? Give feedback.
5 replies
-
Thank you @mathoudebine switching to mono font and right aligned text worked :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I've been playing with the turing smart screen and this python library (thanks for this!).
I used the simple-program.py as example code and written my own function to pull metrics from my Prometheus server where I have things like Room Temperatures and Appliance power usage to display on here. All working ok.
The issue I'm seeing is that when a value goes from say 180W to 989W, the last half of the old W from the width of 180W is till shown.
What is the correct way to fix this so it doesn't show the old text when the old text was wider than the current text?
Beta Was this translation helpful? Give feedback.
All reactions