-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
AbstractButton's ContentAreaFilled=false not honored when parent is a CellRendererPane #58
Comments
PR submitted #63 |
bug: AbstractButton's ContentAreaFilled=false not honored when parent is a CellRendererPane
@hshafie thanks for reporting. This is now fixed in master branch. |
No need to try the snapshot. I read your code and found that I made exactly the same modification
in my copy of FlatLaf 0.26 and I confirm that this change fixes the problem. I will download and use FlatLaf 0.27 as soon as it will be available. Many thanks! |
released in 0.27 |
When the ContentAreaFilled property of an RadioButton or CheckBox is set to false and this kind of AbstractButton is painted by a CellRendererPane, its background color is still rendered. This behavior differs from what do the Windows, Metal, GTK+, Nimbus, etc, LAFs.
This behavior is implemented here in FlatLaf 0.26, com/formdev/flatlaf/ui/FlatRadioButtonUI.java:
PS: This is a very minor bug. Other than this, FlatLaf is fast, works great and looks gorgeous in my large, complex, Swing application. Thank you very much for your work!
The text was updated successfully, but these errors were encountered: