diff --git a/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectSettingsStep.java b/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectSettingsStep.java index 091e5d5c351a..8d4c974f6d36 100644 --- a/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectSettingsStep.java +++ b/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectSettingsStep.java @@ -200,9 +200,9 @@ public class ProjectSettingsStep extends ModuleWizardStep implements SettingsSte static void addField(String label, JComponent field, JPanel panel) { JLabel jLabel = new JBLabel(label); jLabel.setLabelFor(field); - panel.add(jLabel, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 0, 0, GridBagConstraints.NORTHWEST, - GridBagConstraints.NONE, JBUI.insets(10, 0, 5, 0), 4, 0)); - panel.add(field, new GridBagConstraints(1, GridBagConstraints.RELATIVE, 1, 1, 1.0, 0, GridBagConstraints.NORTHWEST, + panel.add(jLabel, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 0, 0, GridBagConstraints.CENTER, + GridBagConstraints.NONE, JBUI.insetsBottom(5), 4, 0)); + panel.add(field, new GridBagConstraints(1, GridBagConstraints.RELATIVE, 1, 1, 1.0, 0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, JBUI.insetsBottom(5), 0, 0)); }