-
-
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
customization example doesn't seem to have an effect #257
Comments
Hmm, just tried. Is it possible that the tabbed pane was focused in your test? UIManager.put("TabbedPane.focusColor", Color.red);
To workaround (until fixed in FlatLaf), use a UIManager.put("TabbedPane.foreground", new ColorUIResource(WHITE)); |
… when `TabbedPane.foreground` has also custom color (issue #257)
|
Thanks very much DevCharly! Open Source rocks, doesn't it? |
Is it possible that there's a problem for the background / selectedBackground as well? I see that one too now. I tried your ColorUIResource workaround for that pair of colors and that didn't seem to do the trick. |
Hi, |
@ju-gem no, that's exactly how it should work.
If you don't want that your tabbedpane can be focused, then use: tabbedPane.setFocusable( false ); |
Alright, that makes sense. Thanks @DevCharly! |
@jonathanlocke the problem with Can't find a problem with |
the colors of JTabbedPane can be customized with this:
and most of it works, but the line in bold (which is on the example page for how to customize flatlaf) doesn't seem to have any effect. selectedForeground doesn't seem to work either. i'm using flatlaf 0.45. thanks!
The text was updated successfully, but these errors were encountered: