|
|
|
@ -474,7 +474,7 @@ public class FormParaDesigner extends FormDesigner implements ParameterDesignerP
|
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public void updateUI() { |
|
|
|
|
setUI(new FormDesignerUI(){ |
|
|
|
|
setUI(new FormDesignerUI() { |
|
|
|
|
@Override |
|
|
|
|
protected Rectangle getFitPaintBounds(Component component, Component parent) { |
|
|
|
|
return new Rectangle(0, 0, parent.getSize().width, parent.getSize().height); |
|
|
|
@ -694,8 +694,8 @@ public class FormParaDesigner extends FormDesigner implements ParameterDesignerP
|
|
|
|
|
formSubmitButton.setWidgetName("Search"); |
|
|
|
|
formSubmitButton.setText(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Query")); |
|
|
|
|
XCreator xCreator = XCreatorUtils.createXCreator(formSubmitButton); |
|
|
|
|
if (!(this.autoAddComponent(xCreator, H_COMPONENT_GAP * 3 + H_GAP, FIRST_V_LOCATION |
|
|
|
|
+ V_COMPONENT_GAP * (currentIndex / NUM_IN_A_LINE)))) { |
|
|
|
|
if (this.autoAddComponent(xCreator, H_COMPONENT_GAP * 3 + H_GAP, FIRST_V_LOCATION |
|
|
|
|
+ V_COMPONENT_GAP * (currentIndex / NUM_IN_A_LINE))) { |
|
|
|
|
currentIndex = ((int) Math.ceil((currentIndex + 1) / (double) NUM_IN_A_LINE)) * NUM_IN_A_LINE; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -741,7 +741,7 @@ public class FormParaDesigner extends FormDesigner implements ParameterDesignerP
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean checkIfBeyondValidArea(MouseEvent e){ |
|
|
|
|
public boolean checkIfBeyondValidArea(MouseEvent e) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|