|
|
|
@ -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); |
|
|
|
|