Browse Source

Pull request #1929: REPORT-29515 修改默认弹窗窗体宽度,由660*600改成700*630,修改height是因为只改width,看起来不太好看

Merge in DESIGN/design from ~YUAN.WANG/design:release/10.0 to release/10.0

* commit '93ff2c993f6ab254b944d41ed6dbcdfa00b74287':
  REPORT-29515 修改默认弹窗窗体宽度,由660*600改成700*630,修改height是因为只改width,看起来不太好看
feature/big-screen
Yuan.Wang 4 years ago
parent
commit
ef38a1d98f
  1. 7
      designer-realize/src/main/java/com/fr/design/actions/server/ServerConfigManagerAction.java

7
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() {

Loading…
Cancel
Save