Browse Source

Merge pull request #3682 in DESIGN/design from release/10.0 to bugfix/10.0

* commit 'd6100c29c5dc24c49edd0c3a548b045ff754241d':
  REPORT-47886 参数面板先添加两个参数,再新建两个参数 全部添加,参数和查询按钮会重叠
  REPORT-47886 参数面板先添加两个参数,再新建两个参数 全部添加,参数和查询按钮会重叠
bugfix/10.0
superman 4 years ago
parent
commit
3919af743b
  1. 4
      designer-form/src/main/java/com/fr/design/form/parameter/FormParaDesigner.java

4
designer-form/src/main/java/com/fr/design/form/parameter/FormParaDesigner.java

@ -694,8 +694,8 @@ public class FormParaDesigner extends FormDesigner implements ParameterDesignerP
formSubmitButton.setWidgetName("Search"); formSubmitButton.setWidgetName("Search");
formSubmitButton.setText(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Query")); formSubmitButton.setText(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Query"));
XCreator xCreator = XCreatorUtils.createXCreator(formSubmitButton); XCreator xCreator = XCreatorUtils.createXCreator(formSubmitButton);
if (!(this.autoAddComponent(xCreator, H_COMPONENT_GAP * 3 + H_GAP, FIRST_V_LOCATION if (this.autoAddComponent(xCreator, H_COMPONENT_GAP * 3 + H_GAP, FIRST_V_LOCATION
+ V_COMPONENT_GAP * (currentIndex / NUM_IN_A_LINE)))) { + V_COMPONENT_GAP * (currentIndex / NUM_IN_A_LINE))) {
currentIndex = ((int) Math.ceil((currentIndex + 1) / (double) NUM_IN_A_LINE)) * NUM_IN_A_LINE; currentIndex = ((int) Math.ceil((currentIndex + 1) / (double) NUM_IN_A_LINE)) * NUM_IN_A_LINE;
} }
} }

Loading…
Cancel
Save