|
|
@ -86,7 +86,6 @@ public class XCardAddButton extends XButton { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void respondClick(EditingMouseListener editingMouseListener, MouseEvent e){ |
|
|
|
public void respondClick(EditingMouseListener editingMouseListener, MouseEvent e){ |
|
|
|
FormDesigner designer = editingMouseListener.getDesigner(); |
|
|
|
FormDesigner designer = editingMouseListener.getDesigner(); |
|
|
|
designer.fireTargetModified(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// addbutton对应的XWCardLayout和XWCardTagLayout暂未存入到xml中,重新打开之后先根据父子层获取
|
|
|
|
// addbutton对应的XWCardLayout和XWCardTagLayout暂未存入到xml中,重新打开之后先根据父子层获取
|
|
|
|
if(cardLayout == null && tagLayout ==null ){ |
|
|
|
if(cardLayout == null && tagLayout ==null ){ |
|
|
@ -112,6 +111,8 @@ public class XCardAddButton extends XButton { |
|
|
|
showNewTab(editingMouseListener,index); |
|
|
|
showNewTab(editingMouseListener,index); |
|
|
|
tagLayout.setTabsAndAdjust(); |
|
|
|
tagLayout.setTabsAndAdjust(); |
|
|
|
LayoutUtils.layoutRootContainer(designer.getRootComponent()); |
|
|
|
LayoutUtils.layoutRootContainer(designer.getRootComponent()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
designer.fireTargetModified(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|