Browse Source

Pull request #2131: REPORT-37769 表单多tab,设置选中背景,如果增加一个tab,第一个tab0的选中背景就会失效

Merge in DESIGN/design from ~PENGDA/design:release/10.0 to release/10.0

* commit 'a32b58db7d502d8fa7d030e824dcda47d08b57d6':
  REPORT-37769 表单多tab,设置选中背景,如果增加一个tab,第一个tab0的选中背景就会失效
feature/big-screen
pengda 4 years ago
parent
commit
4c00e7160d
  1. 2
      designer-form/src/main/java/com/fr/design/designer/creator/cardlayout/XWCardTagLayout.java

2
designer-form/src/main/java/com/fr/design/designer/creator/cardlayout/XWCardTagLayout.java

@ -143,7 +143,7 @@ public class XWCardTagLayout extends XWHorizontalBoxLayout {
fitLayout.setInitialBackground(layout.getTemplateStyle().getTabDefaultBackground());
fitLayout.setCustomStyle(true);
}
tabFitLayout.setxCardSwitchButton((XCardSwitchButton)this.getComponent(0));
tabFitLayout.setxCardSwitchButton((XCardSwitchButton)this.getComponent(index));
tabFitLayout.checkButonType();
tabFitLayout.setBackupParent(cardLayout);
cardLayout.add(tabFitLayout, widgetName);

Loading…
Cancel
Save