Browse Source

Merge pull request #411 in BA/design from ~ZHOUPING/design:dev to dev

* commit '14403f3459f56671ab9111981dc898fdbd4edf03':
  REPORT-533 表单初始化布局新功能
master
superman 8 years ago
parent
commit
4a758dbd27
  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