From 03941898a6fb255c2d62131806a94d70d07d9fda Mon Sep 17 00:00:00 2001 From: MoMeak Date: Tue, 19 Dec 2017 11:05:50 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-6048=20[=E8=AE=BE=E8=AE=A1=E5=99=A8]?= =?UTF-8?q?=E7=BB=9D=E5=AF=B9=E7=94=BB=E5=B8=83=E5=9D=97=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B8=8D=E8=B7=9F=E9=9A=8F=E8=87=AA=E9=80=82?= =?UTF-8?q?=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/designer/properties/BoundsGroupModel.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/designer_form/src/com/fr/design/designer/properties/BoundsGroupModel.java b/designer_form/src/com/fr/design/designer/properties/BoundsGroupModel.java index 4c20d04671..a911efa4ac 100644 --- a/designer_form/src/com/fr/design/designer/properties/BoundsGroupModel.java +++ b/designer_form/src/com/fr/design/designer/properties/BoundsGroupModel.java @@ -7,6 +7,7 @@ import javax.swing.table.DefaultTableCellRenderer; import javax.swing.table.TableCellEditor; import javax.swing.table.TableCellRenderer; +import com.fr.design.utils.gui.LayoutUtils; import com.fr.general.Inter; import com.fr.design.mainframe.widget.editors.IntegerPropertyEditor; import com.fr.design.mainframe.widget.editors.PropertyCellEditor; @@ -119,6 +120,8 @@ public class BoundsGroupModel implements ConstraintsGroupModel { WAbsoluteLayout wabs = parent.toData(); wabs.setBounds(component.toData(),bounds); component.setBounds(bounds); + LayoutUtils.layoutContainer(component); + parent.updateBoundsWidget(component); return true; } else {