Browse Source

Merge pull request #287 in DESIGN/design from ~PLOUGH/10-design:release/10.0 to release/10.0

* commit '2704c0c1350871da8eaeda3ed0a2c0a1f1f9ba3b':
  无JIRA任务,表单添加参数面板后,水印错位
research/10.0
plough 6 years ago
parent
commit
25c29fcac7
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/FormDesignerUI.java

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

@ -115,7 +115,7 @@ public class FormDesignerUI extends ComponentUI {
private void paintWatermark(Graphics2D g) {
WatermarkAttr watermark = ReportUtils.getWatermarkFromAttrMarkFile(designer.getTarget());
WatermarkPainter painter = WatermarkPainter.createPainter(watermark, designer.getResolution());
painter.paint(g, 0, designer.getParaHeight(), designer.getArea().getBounds());
painter.paint(g, 0, 0, designer.getArea().getBounds());
}
private int[] getActualLine(int i) {

Loading…
Cancel
Save