From 43eddd87b57595b21f59fa10e7d95ebf9d9fbfce Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Wed, 23 Jul 2014 17:36:27 +0400 Subject: [PATCH] inspections settings ui: min size for severity&scopes table is 3 --- .../profile/codeInspection/ui/SingleInspectionProfilePanel.java | 1 + 1 file changed, 1 insertion(+) 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 53dd21b8e061..af88eaa9a062 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 @@ -831,6 +831,7 @@ public class SingleInspectionProfilePanel extends JPanel { final ToolbarDecorator wrappedTable = ToolbarDecorator.createDecorator(scopesAndScopesAndSeveritiesTable); final JPanel panel = wrappedTable.createPanel(); + panel.setMinimumSize(new Dimension(getMinimumSize().width, 3 * scopesAndScopesAndSeveritiesTable.getRowHeight())); severityPanel.add(new JBLabel("Scopes & Severities"), new GridBagConstraints(0, 0, 1, 1, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 0, 2, 10), 0, 0));