|
|
@ -787,7 +787,7 @@ public abstract class XCreator extends JPanel implements XComponent, XCreatorToo |
|
|
|
int formDesignerWidth = designer.getWidth(); |
|
|
|
int formDesignerWidth = designer.getWidth(); |
|
|
|
int formDesignerHeight = designer.getHeight(); |
|
|
|
int formDesignerHeight = designer.getHeight(); |
|
|
|
// 不超过可绘制区域
|
|
|
|
// 不超过可绘制区域
|
|
|
|
int extraX = Math.min(creatorRightX, formDesignerWidth); |
|
|
|
int extraX = creatorRightX < 0 ? 0 : 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) { |
|
|
|
if (designer.isFormParaDesigner() && extraY + this.getHeight() >= formDesignerHeight) { |
|
|
|