Browse Source

REPORT-100623 获取rootContainer时加上竖直方向的偏移

newui
obo 1 year ago
parent
commit
6d968323de
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/FormDesigner.java

2
designer-form/src/main/java/com/fr/design/mainframe/FormDesigner.java

@ -1208,7 +1208,7 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection
}
public XLayoutContainer getRootContainer(int y) {
XLayoutContainer container = y < paraHeight - formArea.getVerticalValue() ? paraComponent : rootComponent;
XLayoutContainer container = y < paraHeight - formArea.getVerticalValue() / scale ? paraComponent : rootComponent;
if (container == null) {
container = rootComponent;
}

Loading…
Cancel
Save