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

Parts of the painted String on a JProgressBar is not visible for some Themes #138

Closed
grimlock81 opened this issue Jul 30, 2020 · 2 comments
Milestone

Comments

@grimlock81
Copy link

grimlock81 commented Jul 30, 2020

For some of the Flat themes, parts of the painted String are not visible in the areas where the progress bar doesn't paint the value.

See this example, where the progress bar value is set at 70, with a maximum of 100. The painted String is "Testing JProgressBar"

Using FlatMonokaiProContrastIJTheme produces missing parts of the String

Using FlatDarculaLaf produces correct result

I have gone through all the available themes and I noticed the themes that are not rendering properly are all from the materialthemeuilite package.

The painted String is visible for these themes, but it is hard to read due to clash of similar colours

  • FlatGradiantoDarkFuchsiaIJTheme
  • FlatGruvboxDarkHardIJTheme, FlatGruvboxDarkMediumIJTheme, FlatGruvboxDarkSoftIJTheme
  • FlatHiberbeeDarkIJTheme
  • FlatHighContrastIJTheme
@DevCharly
Copy link
Collaborator

The reason for the wrong text colors in progress bars is that they are not used in IntelliJ and the authors of IntelliJ themes do not specify them.

Fixed in master branch.

Please let me know if there is still something wrong....

@DevCharly DevCharly added this to the 0.39 milestone Jul 31, 2020
@grimlock81
Copy link
Author

Thanks for the quick fix @DevCharly looks good.

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

No branches or pull requests

2 participants