Browse Source

Merge pull request #11836 in DESIGN/design from bugfix/11.0 to feature/x

* commit 'e47204d20a7af9ae3d3565242a05dcc130f5084d':
  REPORT-92506 控件支持主题切换-设计器决策报表的参数面板背景不生效
feature/x
superman 2 years ago
parent
commit
b4a63f9233
  1. 5
      designer-form/src/main/java/com/fr/design/parameter/RootDesignDefinePane.java

5
designer-form/src/main/java/com/fr/design/parameter/RootDesignDefinePane.java

@ -368,12 +368,11 @@ public class RootDesignDefinePane extends AbstractDataModify<WParameterLayout> {
wParameterLayout.setParamsFireStopEdit(fireAfterEditor.isSelected()); wParameterLayout.setParamsFireStopEdit(fireAfterEditor.isSelected());
JTemplate jTemplate = HistoryTemplateListPane.getInstance().getCurrentEditingTemplate(); JTemplate jTemplate = HistoryTemplateListPane.getInstance().getCurrentEditingTemplate();
jTemplate.needAddTemplateIdAttr(useParamsTemplate.isSelected()); jTemplate.needAddTemplateIdAttr(useParamsTemplate.isSelected());
wParameterLayout.setBackground((Background) background.getValue());
if (extraPaneList.isEmpty()) { if (extraPaneList.isEmpty()) {
background.setValue(wParameterLayout.getBackground()); wParameterLayout.setBackground((Background) background.getValue());
} else { } else {
for (BasicBeanPane<WParameterLayout> pane : extraPaneList) { for (BasicBeanPane<WParameterLayout> pane : extraPaneList) {
pane.populateBean(wParameterLayout); pane.updateBean(wParameterLayout);
} }
} }
//设置参数模板面板的高度 //设置参数模板面板的高度

Loading…
Cancel
Save