Browse Source

Pull request #11827: REPORT-92506 控件支持主题切换-设计器决策报表的参数面板背景不生效

Merge in DESIGN/design from ~JOHN.YING/design:bugfix/11.0 to bugfix/11.0

* commit '8ace453e7565cd1dc715a327ec0777e04bae9ffc':
  REPORT-92506 控件支持主题切换-设计器决策报表的参数面板背景不生效
bugfix/11.0
John.Ying-应志浩 2 years ago
parent
commit
e47204d20a
  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