Browse Source

REPORT-1814 表单tab块的页签拖动新功能

bugfix
master
zhouping 8 years ago
parent
commit
6404579f17
  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) {
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