Browse Source

无JIRA任务,表单添加参数面板后,水印错位

research/10.0
plough 6 years ago
parent
commit
3f1cec83e4
  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