Browse Source

Merge pull request #169 in BA/design from ~XIAXIANG/design1:dev to dev

* commit 'daad29bcc52c41995c85d585bb1a9680036de38f':
  rt
master
superman 8 years ago
parent
commit
3562589148
  1. 4
      designer_form/src/com/fr/design/designer/creator/XElementCase.java

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

@ -94,6 +94,10 @@ public class XElementCase extends XBorderStyleWidgetCreator implements FormEleme
FitProvider wbTpl = (FitProvider) designer.getTarget();
ReportFitAttrProvider fitAttr = wbTpl.getFitAttr();
ElementCaseEditor editor = this.toData();
//兼容之前报表块(之前三个选项为:默认 横向 双向 现在是:横向 双向 不自适应)
if (editor.getFitStateInPC() == 0) {
editor.setReportFitAttr(null);
}
ReportFitAttrProvider reportFitAttr = editor.getReportFitAttr() == null ? fitAttr : editor.getReportFitAttr();
PropertyDescriptor[] extraEditor = processor.createPropertyDescriptor(this.data.getClass(), reportFitAttr);

Loading…
Cancel
Save