FormBuilder: preserve unique (position,type) for method arguments (IDEA-CR-4244) dbe/142.4082.1
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Tue, 18 Aug 2015 10:12:39 +0000 (13:12 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Tue, 18 Aug 2015 10:12:39 +0000 (13:12 +0300)
platform/platform-api/src/com/intellij/util/ui/FormBuilder.java

index 0aa84b5c796290bcd394992947cf61f68a680e5d..003a07f1e394fb79316d88c5e31554c61f07853e 100644 (file)
@@ -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) {