We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I was able to change the colour of the progress bar, but not the text itself. Is there any way to do that? I'm using this setup:
ProgressBarBuilder pbb = ProgressBar.builder() .setStyle(ProgressBarStyle.builder() .colorCode((byte) 32) // the ANSI color code .block('█') .rightBracket("]") .leftBracket("[") .space(' ') .build() ).showSpeed(new DecimalFormat("#.##")) .setInitialMax(max) .setTaskName(name) .continuousUpdate() .setUnit("req", 1);
this.progressBar = pbb.build();
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Thanks! Right now the color code only controls the drawing part, not the text. You are welcome to create a PR to solve this issue!
Sorry, something went wrong.
No branches or pull requests
Hi, I was able to change the colour of the progress bar, but not the text itself. Is there any way to do that?
I'm using this setup:
ProgressBarBuilder pbb = ProgressBar.builder()
.setStyle(ProgressBarStyle.builder()
.colorCode((byte) 32) // the ANSI color code
.block('█')
.rightBracket("]")
.leftBracket("[")
.space(' ')
.build()
).showSpeed(new DecimalFormat("#.##"))
.setInitialMax(max)
.setTaskName(name)
.continuousUpdate()
.setUnit("req", 1);
this.progressBar = pbb.build();
Thanks in advance!
The text was updated successfully, but these errors were encountered: