Browse Source

Merge remote-tracking branch 'origin/release/10.0' into release/10.0

zheng-1641779399395
xiqiu 3 years ago
parent
commit
912084ccfb
  1. 6
      designer-form/src/main/java/com/fr/design/designer/creator/XCreator.java

6
designer-form/src/main/java/com/fr/design/designer/creator/XCreator.java

@ -783,6 +783,12 @@ public abstract class XCreator extends JPanel implements XComponent, XCreatorToo
// 不超过可绘制区域
int extraX = Math.min(creatorRightX, formDesignerWidth);
int extraY = creatorRightY < 0 ? 0 : Math.min(creatorRightY, formDesignerHeight);
if (designer.isFormParaDesigner() && extraY + this.getHeight() >= formDesignerHeight) {
popup.setVisible(false);
return;
}
// 放到事件尾部执行
SwingUtilities.invokeLater(new Runnable() {
@Override

Loading…
Cancel
Save