Browse Source

Merge pull request #666 in BA/design from ~ZHOUPING/design:release to release

* commit '6404579f1774d061a678dba07dd407a105419241':
  REPORT-1814 表单tab块的页签拖动新功能 bugfix
master
superman 8 years ago
parent
commit
7f4982eca5
  1. 10
      designer_form/src/com/fr/design/designer/creator/cardlayout/XWTabFitLayout.java

10
designer_form/src/com/fr/design/designer/creator/cardlayout/XWTabFitLayout.java

@ -250,6 +250,16 @@ public class XWTabFitLayout extends XWFitLayout {
if (font != null) { if (font != null) {
cardSwitchButton.setFont(font); cardSwitchButton.setFont(font);
} }
if (this.initialBackground != null){
this.xCardSwitchButton.setSelectBackground(this.initialBackground);
cardSwitchButton.setInitialBackground(this.initialBackground);
}
if (this.overBackground != null){
cardSwitchButton.setOverBackground(this.overBackground);
}
if (this.clickBackground != null) {
cardSwitchButton.setClickBackground(this.clickBackground);
}
} }
} }

Loading…
Cancel
Save