Browse Source

无JIRA任务 修改tab布局的控件名字时同时修改title内保存的cardName

同步到9.0
master
zhouping 7 years ago
parent
commit
3ba731ecfd
  1. 1
      designer_form/src/com/fr/design/designer/creator/cardlayout/XWCardLayout.java

1
designer_form/src/com/fr/design/designer/creator/cardlayout/XWCardLayout.java

@ -405,6 +405,7 @@ public class XWCardLayout extends XLayoutContainer {
XWCardMainBorderLayout borderLayout = (XWCardMainBorderLayout) this.getBackupParent(); XWCardMainBorderLayout borderLayout = (XWCardMainBorderLayout) this.getBackupParent();
WCardMainBorderLayout border = borderLayout.toData(); WCardMainBorderLayout border = borderLayout.toData();
WCardTitleLayout titleLayout = border.getTitlePart(); WCardTitleLayout titleLayout = border.getTitlePart();
titleLayout.setCardName(cardLayoutName);
WCardTagLayout tagLayout = titleLayout.getTagPart(); WCardTagLayout tagLayout = titleLayout.getTagPart();
for (int i = 0, len = tagLayout.getWidgetCount(); i < len; i++) { for (int i = 0, len = tagLayout.getWidgetCount(); i < len; i++) {
CardSwitchButton button = tagLayout.getSwitchButton(i); CardSwitchButton button = tagLayout.getSwitchButton(i);

Loading…
Cancel
Save