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

Poor contrast for progressbar text #4845

Open
2 tasks done
Jacalz opened this issue May 18, 2024 · 0 comments
Open
2 tasks done

Poor contrast for progressbar text #4845

Jacalz opened this issue May 18, 2024 · 0 comments
Labels
Accessibility Issues relating to accessibility, such as colorblind users, hard-of-sight users, etc. bug Something isn't working Design Requires some visual design process

Comments

@Jacalz
Copy link
Member

Jacalz commented May 18, 2024

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

As initially reported in Jacalz/rymdport#115, the widget.ProgressBar component has poor contrast for the text in the case where the progress bar hasn't covered the progress background yet. Both the light and dark themes exhibit poor contrast initially but good contrast later on. See screenshots below.

How to reproduce

  1. Open up fyne_demo.
  2. Go to the Widgets -> Progress page.
  3. Notice that the text contrast is poor initially but turns good once the progress reaches ahead of the text.

Screenshots

Dark theme:

Poor contrast for text in the dark region of the progress bar:

image

Good contrast for text in the light region of the progress bar:

image

Light theme

Poor contrast for text in the light region of the progress bar:

image

Good contrast for text in the dark region of the progress bar:

image

Example code

See fyne_demo.

Fyne version

v2.4.5

Go compiler version

1.22.3

Operating system and version

Fedora Silverblue 40

Additional Information

No response

@Jacalz Jacalz added bug Something isn't working Design Requires some visual design process Accessibility Issues relating to accessibility, such as colorblind users, hard-of-sight users, etc. labels May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Issues relating to accessibility, such as colorblind users, hard-of-sight users, etc. bug Something isn't working Design Requires some visual design process
Projects
None yet
Development

No branches or pull requests

1 participant