|
|
|
@ -235,6 +235,8 @@ public class FRAbsoluteLayoutAdapter extends FRBodyLayoutAdapter {
|
|
|
|
|
} else { |
|
|
|
|
container.add(creator, creator.toData().getWidgetName(),0); |
|
|
|
|
} |
|
|
|
|
//这边将组件添加到container后,需要做下layout处理,否则其内部的一些组件的宽高可能为0,从而导致在updateChildBounds的时候出现问题
|
|
|
|
|
LayoutUtils.layoutRootContainer(creator); |
|
|
|
|
XWAbsoluteLayout layout = (XWAbsoluteLayout) container; |
|
|
|
|
layout.updateBoundsWidget(creator); |
|
|
|
|
updateCreatorBackBound(); |
|
|
|
|