Skip to content
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

"Pulsing" value for CIRCULAR_PROGRESS #65

Open
denkovi1 opened this issue Jan 9, 2019 · 1 comment
Open

"Pulsing" value for CIRCULAR_PROGRESS #65

denkovi1 opened this issue Jan 9, 2019 · 1 comment

Comments

@denkovi1
Copy link

denkovi1 commented Jan 9, 2019

Thank you for the great library first of all!
I have noted something for CIRCULAR_PROGRESS tile. Sometimes the value is "pulsing" - become bigger and smaller when actually the value is not changing. I suppose it is "pulsing" if it becomes more longer than certain length.
For example: with this value (21.70mv) it is shown OK:
default
With value of 433.30mv (one more digit) it starts "pulsing" slightly:
default
With value of 1111.00mv (two more digit) the "pulsing" is significant:
default
The more value digits, the more sensitive "pulsing".
Is this feature or bug ?

@HanSolo
Copy link
Owner

HanSolo commented Jan 9, 2019

Yep I also saw that effect and here is the explanation. I change the font size depending on the length of the value text. This is to make sure that the text fits inside of the ring. The problem is that if the value is around the width that the fontsize will change it might start to "pulse" because it is switching the fontsize between different values.
A solution to this might be the use of discrete fontsize steps but this is not implemented yet...well and contributions are welcome ;)

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