Browse Source

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

* commit '3ba731ecfd1e4c907b0fc2aacb5c55c39c9a0083':
  无JIRA任务 修改tab布局的控件名字时同时修改title内保存的cardName 同步到9.0
master
superman 7 years ago
parent
commit
2bd98cd806
  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();
WCardMainBorderLayout border = borderLayout.toData();
WCardTitleLayout titleLayout = border.getTitlePart();
titleLayout.setCardName(cardLayoutName);
WCardTagLayout tagLayout = titleLayout.getTagPart();
for (int i = 0, len = tagLayout.getWidgetCount(); i < len; i++) {
CardSwitchButton button = tagLayout.getSwitchButton(i);

Loading…
Cancel
Save