xiaoxia 8 years ago
parent
commit
083bcb003c
  1. 1
      designer_form/src/com/fr/design/mainframe/FormDesigner.java

1
designer_form/src/com/fr/design/mainframe/FormDesigner.java

@ -201,6 +201,7 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection
if (getParameterArray().length == 0) { if (getParameterArray().length == 0) {
EastRegionContainerPane.getInstance().setParameterHeight(30); EastRegionContainerPane.getInstance().setParameterHeight(30);
} else { } else {
//参数面板独立后只能这边触发调整高度,根据参数个数调整换行,计算高度
EastRegionContainerPane.getInstance().setParameterHeight((getParameterArray().length + 5) / 6 * 30 + 80); EastRegionContainerPane.getInstance().setParameterHeight((getParameterArray().length + 5) / 6 * 30 + 80);
} }

Loading…
Cancel
Save