xiaxiang 9 years ago
parent
commit
093339c75f
  1. 5
      designer_form/src/com/fr/design/designer/creator/XElementCase.java

5
designer_form/src/com/fr/design/designer/creator/XElementCase.java

@ -94,11 +94,10 @@ public class XElementCase extends XBorderStyleWidgetCreator implements FormEleme
} }
//新建报表块的自适应属性和表单所设置的自适应属性保持一致 //新建报表块的自适应属性和表单所设置的自适应属性保持一致
if (this.toData().getReportFitAttr() == null) { if (this.toData().getReportFitAttr() == null) {
if (getFitAttrProvider().fitStateInPC() != 0) { if (getFitAttrProvider().fitStateInPC() == 0) {
this.toData().setFitStateInPC(getFitAttrProvider().fitStateInPC());
} else {
return propertyTableEditor; return propertyTableEditor;
} }
this.toData().setFitStateInPC(getFitAttrProvider().fitStateInPC());
} }
return (CRPropertyDescriptor[]) ArrayUtils.addAll(propertyTableEditor, extraEditor); return (CRPropertyDescriptor[]) ArrayUtils.addAll(propertyTableEditor, extraEditor);
} }

Loading…
Cancel
Save