Browse Source

Pull request #3195: REPORT-44733【冒烟】附件表单模板的显示会有问题

Merge in DESIGN/design from ~KERRY/design_10.0:bugfix/10.0 to bugfix/10.0

* commit 'cd0a4f9bcab4464eacb041d0ad641658899c347b':
  命名修改
  override
  REPORT-44733【冒烟】附件表单模板的显示会有问题
bugfix/10.0
ju|剧浩宇 4 years ago
parent
commit
4ca62aa194
  1. 29
      designer-form/src/main/java/com/fr/design/designer/creator/XWAbsoluteLayout.java

29
designer-form/src/main/java/com/fr/design/designer/creator/XWAbsoluteLayout.java

@ -569,6 +569,35 @@ public class XWAbsoluteLayout extends XLayoutContainer {
}
}
/**
* 重新调整子组件宽度
* @param width 宽度
* @param actualSize 是否按照实际大小计算
*/
@Override
public void recalculateChildWidth(int width, boolean actualSize){
int componentCount = getComponentCount();
for (int i = 0; i < componentCount; i++) {
XCreator creator = (XCreator) getComponent(i);
creator.recalculateChildWidth(width, actualSize);
}
}
/**
* 重新调整子组件高度
* @param height 高度
* @param actualSize 是否按照实际大小计算
*/
@Override
public void recalculateChildHeight(int height, boolean actualSize){
int componentCount = getComponentCount();
for (int i = 0; i < componentCount; i++) {
XCreator creator = (XCreator) getComponent(i);
creator.recalculateChildHeight(height, actualSize);
}
}
/**
* body大小手动调整的时候
* 按照比例调整组件的高度

Loading…
Cancel
Save