Browse Source

REPORT-60392

research/11.0
方磊 3 years ago
parent
commit
4bfaa7d229
  1. 1
      designer-form/src/main/java/com/fr/design/mainframe/FormDesigner.java

1
designer-form/src/main/java/com/fr/design/mainframe/FormDesigner.java

@ -1010,7 +1010,6 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection
} }
private void refreshCenter(Widget centerWidget, XLayoutContainer formLayoutContainer) { private void refreshCenter(Widget centerWidget, XLayoutContainer formLayoutContainer) {
// 不存在center块, 说明是新建的模板(fanglei:大人,时代变了)
XLayoutContainer centerContainer = (XLayoutContainer) XCreatorUtils.createXCreator(centerWidget); XLayoutContainer centerContainer = (XLayoutContainer) XCreatorUtils.createXCreator(centerWidget);
Dimension d = new Dimension(); Dimension d = new Dimension();
d.width = ((WFitLayout) centerWidget).getContainerWidth(); d.width = ((WFitLayout) centerWidget).getContainerWidth();

Loading…
Cancel
Save