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

Question: Customize progress bar a bit ... #165

Open
alan-vos opened this issue Aug 7, 2024 · 2 comments
Open

Question: Customize progress bar a bit ... #165

alan-vos opened this issue Aug 7, 2024 · 2 comments

Comments

@alan-vos
Copy link

alan-vos commented Aug 7, 2024

Is it possible to remove the percentage (100%)? I'm interested only in the writing speed and the ability to monitor the amount that's being written. Unfortunately, in some cases, it is difficult to determine the output file length. In which case, only the size of the current file, and the speed becomes essential.

Currently: Writing 100% [===========================================] 1096/1096MB (0:01:00 / 0:00:00) 18.28MB/s
Would like: Writing [===========================================] 1096/1096MB (0:01:00 / 0:00:00) 18.28MB/s

It's a minor detail, but it would be nice to see.

@ctongfei
Copy link
Owner

At this point you can mimic DefaultProgressBarRenderer to create your own subclass of ProgressBarRenderer. But I agree that the style object should be more customizable.

@alan-vos
Copy link
Author

Yes, I was looking for the class to extend. Thank you

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

No branches or pull requests

2 participants