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 bar / unreadable text #509

Closed
schube opened this issue Dec 2, 2020 · 1 comment
Closed

Progress bar / unreadable text #509

schube opened this issue Dec 2, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@schube
Copy link
Contributor

schube commented Dec 2, 2020

Describe the bug
When a progress bar has a text and a value of 0 (or any other small value, for example value of 10 and maxValue is 10000), the text is not readable, because it is white on a light gray background.

Expected behavior
Firstly, the default should be a readable text.
Secondly, I would wish for a method to set the text color

Screenshots

Thank you!!

@mrabusalah
Copy link
Contributor

Hello friend,
you can use this way to change the font color of ProgressBar

Progress.create()
        .appendChild(ProgressBar
                .create(500)
                .showText()
                .success()
                .setValue(3)
                .styler(style -> style.setColor("black"))
        )
)

@vegegoku vegegoku self-assigned this Oct 20, 2024
@vegegoku vegegoku added the enhancement New feature or request label Oct 20, 2024
@vegegoku vegegoku added this to the 2.0.4 milestone Oct 20, 2024
@github-project-automation github-project-automation bot moved this to To do in Domino UI Oct 20, 2024
vegegoku added a commit that referenced this issue Nov 11, 2024
@github-project-automation github-project-automation bot moved this from To do to Done in Domino UI Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants