From c0b1dc809655219b1a22999b6c077d53fa20abc5 Mon Sep 17 00:00:00 2001 From: pengda Date: Wed, 19 Aug 2020 17:44:17 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-37769=20=E8=A1=A8=E5=8D=95=E5=A4=9Atab?= =?UTF-8?q?=EF=BC=8C=E8=AE=BE=E7=BD=AE=E9=80=89=E4=B8=AD=E8=83=8C=E6=99=AF?= =?UTF-8?q?=EF=BC=8C=E5=A6=82=E6=9E=9C=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA?= =?UTF-8?q?tab=EF=BC=8C=E7=AC=AC=E4=B8=80=E4=B8=AAtab0=E7=9A=84=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E8=83=8C=E6=99=AF=E5=B0=B1=E4=BC=9A=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/designer/creator/cardlayout/XWCardTagLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-form/src/main/java/com/fr/design/designer/creator/cardlayout/XWCardTagLayout.java b/designer-form/src/main/java/com/fr/design/designer/creator/cardlayout/XWCardTagLayout.java index dc8bb90801..49f246256c 100644 --- a/designer-form/src/main/java/com/fr/design/designer/creator/cardlayout/XWCardTagLayout.java +++ b/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);