Browse Source

REPORT-3163 合作开发9.0设计器=>新列表面板=》修改弹出框的尺寸和边框

master
plough 7 years ago
parent
commit
fd3e790bb4
  1. 6
      designer_base/src/com/fr/design/gui/controlpane/UIControlPane.java

6
designer_base/src/com/fr/design/gui/controlpane/UIControlPane.java

@ -261,13 +261,13 @@ public abstract class UIControlPane extends BasicPane implements UnrepeatedNameH
// 点击"编辑"按钮,弹出面板
protected class PopupEditDialog extends JDialog {
private JComponent editPane;
private static final int WIDTH = 490;
private static final int HEIGHT = 570;
private static final int WIDTH = 570;
private static final int HEIGHT = 490;
PopupEditDialog(JComponent pane) {
super(DesignerContext.getDesignerFrame());
setUndecorated(true);
pane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
pane.setBorder(BorderFactory.createEmptyBorder(20, 10, 10, 10));
this.editPane = pane;
this.getContentPane().add(editPane, BorderLayout.CENTER);
setSize(WIDTH, HEIGHT);

Loading…
Cancel
Save