Browse Source

Merging in latest from upstream (BA/design:refs/heads/dev)

* commit '4a758dbd277f0e980b19fa1f224cf48f4772de7f':
  REPORT-533 表单初始化布局新功能
master
zack 8 years ago
parent
commit
6055f567df
  1. 1
      designer_form/src/com/fr/design/designer/properties/FRAbsoluteBodyLayoutPropertiesGroupModel.java

1
designer_form/src/com/fr/design/designer/properties/FRAbsoluteBodyLayoutPropertiesGroupModel.java

@ -173,6 +173,7 @@ public class FRAbsoluteBodyLayoutPropertiesGroupModel extends FRAbsoluteLayoutPr
int eachRowCount = 4;
Component[] components = xwFitLayout.getComponents();
if (components.length <= 1){
xwFitLayout.updateBoundsWidget();
return;
}
int layoutWidth = xwFitLayout.getWidth() - xwFitLayout.toData().getMargin().getLeft() - xwFitLayout.toData().getMargin().getRight();

Loading…
Cancel
Save