FormBuilder: preserve unique (position,type) for method arguments (IDEA-CR-4244)

This commit is contained in:
Sergey Simonchik
2015-08-18 13:12:39 +03:00
parent 973455e382
commit 0504fd7f17
@@ -107,8 +107,8 @@ public class FormBuilder {
}
@NotNull
public FormBuilder addComponent(@NotNull JComponent component, int topInset, boolean fillVertically) {
return addLabeledComponent(null, component, topInset, false, fillVertically);
public FormBuilder addComponentFillVertically(@NotNull JComponent component, int topInset) {
return addLabeledComponent(null, component, topInset, false, true);
}
public FormBuilder addSeparator(final int topInset) {