Browse Source

REPORT-3163 合作开发9.0设计器=>列表面板=》弹出框加边框

master
plough 7 years ago
parent
commit
9b65018a22
  1. 5
      designer_base/src/com/fr/design/gui/controlpane/UIControlPane.java

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

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

Loading…
Cancel
Save