diff --git a/designer-realize/src/main/java/com/fr/design/actions/server/ServerConfigManagerAction.java b/designer-realize/src/main/java/com/fr/design/actions/server/ServerConfigManagerAction.java index f25c6da3da..a75fa5d265 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/server/ServerConfigManagerAction.java +++ b/designer-realize/src/main/java/com/fr/design/actions/server/ServerConfigManagerAction.java @@ -18,12 +18,15 @@ import com.fr.transaction.Worker; import com.fr.web.attr.ReportWebAttr; import javax.swing.*; +import java.awt.*; import java.awt.event.ActionEvent; /** * Server Config Manager */ public class ServerConfigManagerAction extends UpdateAction { + public static final Dimension DEFAULT = new Dimension(700, 630); + public ServerConfigManagerAction() { this.setMenuKeySet(SERVER_CONFIG_MANAGER); this.setName(getMenuKeySet().getMenuKeySetName() + "..."); @@ -48,8 +51,8 @@ public class ServerConfigManagerAction extends UpdateAction { } }; - final BasicDialog editReportServerParameterDialog = editReportServerParameterPane.showWindow( - DesignerContext.getDesignerFrame() + final BasicDialog editReportServerParameterDialog = editReportServerParameterPane.showWindowWithCustomSize( + DesignerContext.getDesignerFrame(), null, DEFAULT ); editReportServerParameterDialog.addDialogActionListener(new DialogActionAdapter() {