From baf60127e9443e7a2a0d6d7c9cb7fff06c8b8969 Mon Sep 17 00:00:00 2001 From: "Link.Zhao" Date: Mon, 28 Feb 2022 16:48:03 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-66771=20FR11=E8=80=81=E5=86=B3=E7=AD=96?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8-=E5=8F=82=E6=95=B0=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E5=9D=90=E6=A0=87=E8=B6=85=E8=BF=87960?= =?UTF-8?q?=E4=B8=94=E8=AE=BE=E8=AE=A1=E7=94=BB=E5=B8=83=E9=87=8C=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E7=9C=8B=E5=88=B0=E8=AF=A5=E6=8E=A7=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E8=80=81=E9=A2=84=E8=A7=88=E4=B8=8B=E7=9C=8B=E4=B8=8D?= =?UTF-8?q?=E5=88=B0=E8=AF=A5=E6=8E=A7=E4=BB=B6=EF=BC=8C=E6=96=B0=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E4=B8=8B=E5=8F=AF=E4=BB=A5=E7=9C=8B=E5=88=B0=201?= =?UTF-8?q?=E3=80=81=E5=9C=A8=E4=BF=AE=E6=94=B9=E5=B8=83=E5=B1=80=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=EF=BC=8C=E5=90=8C=E6=97=B6=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=9D=A2=E6=9D=BF=E7=9A=84width?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../design/designer/creator/XWParameterLayout.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/designer-form/src/main/java/com/fr/design/designer/creator/XWParameterLayout.java b/designer-form/src/main/java/com/fr/design/designer/creator/XWParameterLayout.java index a41ec46f6..aacdf6d04 100644 --- a/designer-form/src/main/java/com/fr/design/designer/creator/XWParameterLayout.java +++ b/designer-form/src/main/java/com/fr/design/designer/creator/XWParameterLayout.java @@ -270,4 +270,16 @@ public class XWParameterLayout extends XWAbsoluteLayout { public boolean isTopable() { return false; } + + /** + * 修改form布局的宽度时,需要同时修改表单参数界面的布局的宽度。 + * */ + @Override + public void doLayout() { + layout(); + if (data != null && data instanceof WParameterLayout) { + ((WParameterLayout) data).setDesignWidth(getWidth()); + } + } + }