Browse Source

REPORT-5046 @plough:超链、控件、条件属性面板不居中

master
plough 7 years ago
parent
commit
37c6ea7128
  1. 2
      designer_base/src/com/fr/design/gui/controlpane/UIControlPane.java

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

@ -123,7 +123,7 @@ public abstract class UIControlPane extends BasicPane implements UnrepeatedNameH
if (isNewStyle()) { if (isNewStyle()) {
getPopupEditDialog(cardPane); getPopupEditDialog(cardPane);
this.add(getLeftPane(), BorderLayout.CENTER); this.add(getLeftPane(), BorderLayout.CENTER);
this.setBorder(BorderFactory.createEmptyBorder(10, 10, 15, 15)); this.setBorder(BorderFactory.createEmptyBorder(10, 10, 15, 10));
} else { } else {
// 增加边框 // 增加边框
JPanel leftPaneWrapper = new JPanel(new BorderLayout()); JPanel leftPaneWrapper = new JPanel(new BorderLayout());

Loading…
Cancel
Save