-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
JCheckBox opaque = false ignored #77
Comments
In dark mode, I noticed a table where one column does not respect the background color: it actually has a checkbox renderer. I would need to investigate when time allows, but it might well be linked to this issue. |
Using this one-class test case (warning, nasty look and feel stuff to paint cell background): |
Sorry for the late response. This should be fixed in master branch now. Hope it works 😉 |
Works fine! Thanks! |
…ound color is different to default background color, even if component is not opaque (which is the default). This paints selection if using the component as cell renderer a Table, Tree or List (better fix for #77)
Hi JFormDesigner-Team (hallo Karl),
first thanks for the great FlatLaf - its awesome!
I just switched from Darcula to FlatLaf and now I had to realize that there is a problem with the "opaque-ness" of the
JCheckBox
component. In my case I use aJScrollPane
with a customJViewport
to draw a background image behind the list elements. As aListCellRenderer
I useJCheckBox
es withopaque = false
. It worked well with all other LAFs but FlatLaf shows a solid (opaque) background color. The expected behavior is a transparent background of theJCheckBox
' text label.(this is groovy code)
Thanks a lot.
The text was updated successfully, but these errors were encountered: