Browse Source

REPORT-35387 参数面板已有控件的时候,点击右侧全部添加,控件重叠 删除打印语句

feature/big-screen
Henry.Wang 4 years ago
parent
commit
2a26171429
  1. 1
      designer-form/src/main/java/com/fr/design/form/parameter/FormParaDesigner.java

1
designer-form/src/main/java/com/fr/design/form/parameter/FormParaDesigner.java

@ -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;
} }

Loading…
Cancel
Save