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 (getFitAttrProvider().fitStateInPC() != 0) {
this.toData().setFitStateInPC(getFitAttrProvider().fitStateInPC());
} else {
if (getFitAttrProvider().fitStateInPC() == 0) {
return propertyTableEditor;
}
this.toData().setFitStateInPC(getFitAttrProvider().fitStateInPC());
}
return (CRPropertyDescriptor[]) ArrayUtils.addAll(propertyTableEditor, extraEditor);
}

Loading…
Cancel
Save