|
|
@ -7,7 +7,7 @@ import com.fr.base.GraphHelper; |
|
|
|
import com.fr.design.designer.beans.LayoutAdapter; |
|
|
|
import com.fr.design.designer.beans.LayoutAdapter; |
|
|
|
import com.fr.design.designer.beans.adapters.layout.FRAbsoluteLayoutAdapter; |
|
|
|
import com.fr.design.designer.beans.adapters.layout.FRAbsoluteLayoutAdapter; |
|
|
|
import com.fr.design.designer.beans.location.Direction; |
|
|
|
import com.fr.design.designer.beans.location.Direction; |
|
|
|
import com.fr.design.designer.creator.cardlayout.XWTabFitLayout; |
|
|
|
import com.fr.design.designer.creator.cardlayout.XWCardMainBorderLayout; |
|
|
|
import com.fr.design.designer.properties.mobile.MobileBooKMarkUsePropertyUI; |
|
|
|
import com.fr.design.designer.properties.mobile.MobileBooKMarkUsePropertyUI; |
|
|
|
import com.fr.design.form.layout.FRAbsoluteLayout; |
|
|
|
import com.fr.design.form.layout.FRAbsoluteLayout; |
|
|
|
import com.fr.design.form.util.FormDesignerUtils; |
|
|
|
import com.fr.design.form.util.FormDesignerUtils; |
|
|
@ -34,7 +34,6 @@ import java.awt.Rectangle; |
|
|
|
import java.awt.event.ContainerEvent; |
|
|
|
import java.awt.event.ContainerEvent; |
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
import java.beans.IntrospectionException; |
|
|
|
import java.beans.IntrospectionException; |
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.HashMap; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -119,12 +118,8 @@ public class XWAbsoluteLayout extends XLayoutContainer { |
|
|
|
((XWAbsoluteLayout) xCreator).updateBoundsWidget(); |
|
|
|
((XWAbsoluteLayout) xCreator).updateBoundsWidget(); |
|
|
|
} |
|
|
|
} |
|
|
|
// 如果子组件时tab布局,则tab布局内部的组件的wiget也要更新,否则保存后重新打开大小不对
|
|
|
|
// 如果子组件时tab布局,则tab布局内部的组件的wiget也要更新,否则保存后重新打开大小不对
|
|
|
|
ArrayList<?> childrenList = xCreator.getTargetChildrenList(); |
|
|
|
if (xCreator.acceptType(XWCardMainBorderLayout.class)){ |
|
|
|
if (!childrenList.isEmpty()) { |
|
|
|
((XWCardMainBorderLayout) xCreator).updateBoundsWidget(); |
|
|
|
for (int i = 0; i < childrenList.size(); i++) { |
|
|
|
|
|
|
|
XWTabFitLayout tabLayout = (XWTabFitLayout) childrenList.get(i); |
|
|
|
|
|
|
|
tabLayout.updateBoundsWidget(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|