Browse Source

Merge pull request #292 in BA/design from ~ZHOUPING/design:dev to dev

* commit '55cdd4d42b41044e9923c2349fc2046532d45ac7':
  bug:103653
master
superman 8 years ago
parent
commit
5053d18375
  1. 3
      designer_form/src/com/fr/design/designer/beans/painters/FRFitLayoutPainter.java

3
designer_form/src/com/fr/design/designer/beans/painters/FRFitLayoutPainter.java

@ -107,10 +107,9 @@ public class FRFitLayoutPainter extends AbstractPainter{
// 下边缘
Rectangle bottomEdge = new Rectangle(containerX, bottomY, containerWidth, BORDER_PROPORTION);
if(bottomEdge.intersects(currentXY)){
hotspot_bounds.y -= WCardMainBorderLayout.TAB_HEIGHT/2;
hotspot_bounds.y += (container.getHeight() - WCardMainBorderLayout.TAB_HEIGHT)/2;
hot_rec[WIDTH] = container.getWidth();
hot_rec[HEIGHT] = (container.getHeight() + WCardMainBorderLayout.TAB_HEIGHT)/2;
accept = false;
}
//左右边缘的高度 -10*2 是为了不和上下边缘重合

Loading…
Cancel
Save