mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-136762 Fonts in ProjectView under Darcula in Linux looks bad after sequental LaF changes
This commit is contained in:
@@ -28,4 +28,11 @@ public class DarculaTreeUI extends WideSelectionTreeUI {
|
||||
public static ComponentUI createUI(JComponent c) {
|
||||
return new DarculaTreeUI();
|
||||
}
|
||||
|
||||
@Override protected void installDefaults() {
|
||||
super.installDefaults();
|
||||
if (tree.isForegroundSet()) {
|
||||
tree.setForeground(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user