Browse Source

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

release/11.0
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) { 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) { if (container == null) {
container = rootComponent; container = rootComponent;
} }

Loading…
Cancel
Save