From 0c3e3fb14206b07a4b0ba48c853f3fb6c48073a6 Mon Sep 17 00:00:00 2001 From: plough Date: Fri, 13 Oct 2017 14:11:36 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-4467=20=E6=8E=A7=E4=BB=B6=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E7=95=8C=E9=9D=A2=E6=94=B6=E8=B5=B7=E5=86=8D=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E5=90=8E=EF=BC=8C=E6=98=BE=E7=A4=BA=E6=9C=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/properties/WidgetPropertyTable.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/designer_form/src/com/fr/design/designer/properties/WidgetPropertyTable.java b/designer_form/src/com/fr/design/designer/properties/WidgetPropertyTable.java index 07621fc260..148ca548a7 100644 --- a/designer_form/src/com/fr/design/designer/properties/WidgetPropertyTable.java +++ b/designer_form/src/com/fr/design/designer/properties/WidgetPropertyTable.java @@ -93,13 +93,6 @@ public class WidgetPropertyTable extends AbstractPropertyTable { this.repaint(); } - private void setRightColumnWidth(boolean automode) { - int rightColumnWidth = this.getWidth() - LEFT_COLUMN_WIDTH; - TableColumn tcRight = this.getColumn(this.getColumnName(1)); - tcRight.setMinWidth(automode ? 0 : rightColumnWidth); - tcRight.setMaxWidth(automode ? this.getWidth() : rightColumnWidth); - } - private void setDesigner(FormDesigner designer) { this.designer = designer; } @@ -121,13 +114,6 @@ public class WidgetPropertyTable extends AbstractPropertyTable { return null; } - @Override - public void columnMarginChanged(javax.swing.event.ChangeEvent e) { - setRightColumnWidth(false); - super.columnMarginChanged(e); - setRightColumnWidth(true); - } - /** * 待说明 */