From 9694e0b4207d7ec8d3701a7dc06dfae56c1b2c2e Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Wed, 23 Jul 2014 14:50:52 +0400 Subject: [PATCH] Inspections settings ui: added scrolls to config panel if need --- .../profile/codeInspection/ui/SingleInspectionProfilePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/SingleInspectionProfilePanel.java b/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/SingleInspectionProfilePanel.java index bd99a1552c07..53dd21b8e061 100644 --- a/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/SingleInspectionProfilePanel.java +++ b/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/SingleInspectionProfilePanel.java @@ -887,7 +887,7 @@ public class SingleInspectionProfilePanel extends JPanel { private static void setConfigPanel(final JPanel configPanelAnchor, final ScopeToolState state) { configPanelAnchor.removeAll(); - configPanelAnchor.add(state.getAdditionalConfigPanel()); + configPanelAnchor.add(ScrollPaneFactory.createScrollPane(state.getAdditionalConfigPanel(), SideBorder.NONE)); } private static InspectionConfigTreeNode getGroupNode(InspectionConfigTreeNode root, String[] groupPath) {