From 1bc37a22b8cbdcec7d8837d631e62526e2fd6802 Mon Sep 17 00:00:00 2001 From: nik Date: Wed, 21 Sep 2011 13:25:14 +0400 Subject: [PATCH] IDEA-74546: Unreadable facets configuration tree --- .../ui/configuration/projectRoot/FacetsTreeCellRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/FacetsTreeCellRenderer.java b/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/FacetsTreeCellRenderer.java index deea9427c3b4..2bfd614f8aa1 100644 --- a/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/FacetsTreeCellRenderer.java +++ b/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/FacetsTreeCellRenderer.java @@ -62,7 +62,7 @@ public class FacetsTreeCellRenderer extends GroupedElementsRenderer.Tree impleme width = treeWidth; } } - final JComponent component = configureComponent(configurable.getDisplayName(), null, icon, icon, selected, showSeparator, null, + final JComponent component = configureComponent(node.getDisplayName(), null, icon, icon, selected, showSeparator, null, width); myTextLabel.setOpaque(true); return component;