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