From 5b5c5393469981af20ba55fac30ad80d68caecee Mon Sep 17 00:00:00 2001 From: Yvan Date: Thu, 29 Oct 2020 09:14:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/beans/adapters/layout/FRFitLayoutAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-form/src/main/java/com/fr/design/designer/beans/adapters/layout/FRFitLayoutAdapter.java b/designer-form/src/main/java/com/fr/design/designer/beans/adapters/layout/FRFitLayoutAdapter.java index 401e059755..a5ceb8bb23 100644 --- a/designer-form/src/main/java/com/fr/design/designer/beans/adapters/layout/FRFitLayoutAdapter.java +++ b/designer-form/src/main/java/com/fr/design/designer/beans/adapters/layout/FRFitLayoutAdapter.java @@ -345,7 +345,7 @@ public class FRFitLayoutAdapter extends FRBodyLayoutAdapter { backupBound.x -= container.getX(); // REPORT-34739 对绝对画布块的backupBound.y的调整还需要考虑一下参数面板块的高度造成的偏移 int paraHeight = 0; - if (creator instanceof XWAbsoluteLayout) { + if (creator.acceptType(XWAbsoluteLayout.class)) { paraHeight = WidgetPropertyPane.getInstance().getEditingFormDesigner().getParaHeight(); } backupBound.y -= (container.getY() - paraHeight);