|
|
@ -429,7 +429,6 @@ public class FormParaDesigner extends FormDesigner implements ParameterDesignerP |
|
|
|
addableRegionY = 0; |
|
|
|
addableRegionY = 0; |
|
|
|
for (int i = 0; i < layoutContainer.getComponentCount(); i++) { |
|
|
|
for (int i = 0; i < layoutContainer.getComponentCount(); i++) { |
|
|
|
Rectangle rectangle = layoutContainer.getComponent(i).getBounds(); |
|
|
|
Rectangle rectangle = layoutContainer.getComponent(i).getBounds(); |
|
|
|
System.out.println("rectangle:" + rectangle); |
|
|
|
|
|
|
|
if (addableRegionY < rectangle.y + rectangle.height) { |
|
|
|
if (addableRegionY < rectangle.y + rectangle.height) { |
|
|
|
addableRegionY = rectangle.y + rectangle.height; |
|
|
|
addableRegionY = rectangle.y + rectangle.height; |
|
|
|
} |
|
|
|
} |
|
|
|