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

Progress text inside progress bar being cut off (Incorrect measurements?) #79

Open
MackHartley opened this issue Jul 18, 2020 · 1 comment
Labels

Comments

@MackHartley
Copy link

I ran into an issue using the RoundedCornerProgressBar. I have a method that sets the progress of the bar and also updates the progress bar text to indicate the current progress. Most of the time, the text will properly choose where to show itself so it isn't cut off. However, about 10% of the time the text will show itself in an area that is too small for it, leading to it being cut off. It's kind of hard to explain in words, but I have taken two photos to show an example of this:

90% of the time this will show when the fragment starts (Which is correct)
worksmostthetime

10 % of the time this will show when the fragment starts (Which is incorrect)
happenssometimes

It would be great to have a fix for this, but in lieu of that does anyone know a local solution for this problem? Like manually setting which side the text shows on for a given percentage?

@akexorcist akexorcist added the bug label Jul 29, 2020
@akexorcist
Copy link
Owner

Currently, there is not fully supported for this kind of progress bar. This is just an experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants