coverage configuration layout: give rest space to filters

This commit is contained in:
Anna.Kozlova
2016-04-11 21:51:18 +02:00
parent 9dda2246ff
commit dc45f99a40
@@ -242,7 +242,7 @@ public class CoverageConfigurable extends SettingsEditor<RunConfigurationBase> {
final GridBagConstraints gc = new GridBagConstraints(0, GridBagConstraints.RELATIVE,
1, 1, 1, 0,
GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL,
JBUI.emptyInsets(), 0, 0);
result.add(myRunnerPanel, gc);
@@ -258,6 +258,8 @@ public class CoverageConfigurable extends SettingsEditor<RunConfigurationBase> {
myTrackTestSourcesCb = new JCheckBox("Enable coverage in test folders");
panel.add(myTrackTestSourcesCb, bagConstraints);
gc.weighty = 1;
gc.fill = GridBagConstraints.BOTH;
result.add(panel, gc);
myCoverageNotSupportedLabel = new JLabel(CodeInsightBundle.message("code.coverage.is.not.supported"));