Browse Source

REPORT-3163 合作开发9.0设计器=>交互验收=》属性面板弹出时,应该有一个统一的固定位置

master
plough 7 years ago
parent
commit
c096d6be99
  1. 6
      designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java

6
designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java

@ -914,8 +914,10 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
}
public void adjustLocation() {
Point btnCoords = propertyItem.getButton().getLocationOnScreen();
this.setLocation(btnCoords.x - CONTENT_WIDTH, btnCoords.y);
this.setLocation(
getLeftPane().getLocationOnScreen().x - CONTENT_WIDTH,
DesignerContext.getDesignerFrame().getLocationOnScreen().y + 228
);
}
public void replaceContentPane(PropertyItem propertyItem) {

Loading…
Cancel
Save