You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Know if progress bar have max value or it is set to infinity? #140
Hi. I created a progress bar with max of -1. Everything is OK, but when I want check if progress bar has infinity max (or -1) it returns current value (not -1) of the progress bar.
I saw that in ProgressState there is a constant named indefinite and it is set when the initmax is -1:
if (initialMax < 0) indefinite = true;
I want to ask if it is possible to have access to ProgressState() or indefinite from ProgressBar object? Something like: boolean isIndefinite()?
Activity
ctongfei commentedon Sep 10, 2022
@lt3stus3el thanks. I'll add this method to the ProgressBar object in the next version.