Browse Source

Pull request #2375: REPORT-38618【回归】表单-下方缩放缩小之后,拖入tab块,查看右侧边框线消失

Merge in DESIGN/design from ~KERRY/design_10.0:release/10.0 to release/10.0

* commit '2812d09ea389566fb812d4c96cd11ab7f789c711':
  REPORT-38618【回归】表单-下方缩放缩小之后,拖入tab块,查看右侧边框线消失
feature/big-screen
kerry 4 years ago
parent
commit
9502efa472
  1. 6
      designer-form/src/main/java/com/fr/design/mainframe/FormDesignerUI.java

6
designer-form/src/main/java/com/fr/design/mainframe/FormDesignerUI.java

@ -410,8 +410,8 @@ public class FormDesignerUI extends ComponentUI {
clipg = g.create( clipg = g.create(
-designer.getHorizontalScaleValue(), -designer.getHorizontalScaleValue(),
-designer.getVerticalScaleValue() + designer.getParaHeight(), -designer.getVerticalScaleValue() + designer.getParaHeight(),
parent.getSize().width + designer.getHorizontalScaleValue(), component.getSize().width + designer.getHorizontalScaleValue(),
parent.getSize().height + designer.getVerticalScaleValue()); component.getSize().height + designer.getVerticalScaleValue());
designer.paintContent(clipg); designer.paintContent(clipg);
paintWatermark((Graphics2D) clipg); paintWatermark((Graphics2D) clipg);
@ -436,7 +436,7 @@ public class FormDesignerUI extends ComponentUI {
Graphics clipg1; Graphics clipg1;
clipg1 = g.create(-designer.getHorizontalScaleValue(), clipg1 = g.create(-designer.getHorizontalScaleValue(),
-designer.getVerticalScaleValue(), -designer.getVerticalScaleValue(),
parent.getSize().width + designer.getHorizontalScaleValue(), component.getSize().width + designer.getHorizontalScaleValue(),
designer.getParaHeight() + designer.getVerticalScaleValue()); designer.getParaHeight() + designer.getVerticalScaleValue());
designer.paintPara(clipg1); designer.paintPara(clipg1);

Loading…
Cancel
Save