Updated paddingTop of the Header Image and Title
This commit is contained in:
parent
0927f72eab
commit
bcef225732
|
@ -234,8 +234,8 @@ public class Geoportal_PDF_Exporter {
|
|||
if (image != null) {
|
||||
|
||||
image.setFixedPosition(document.getLeftMargin(),
|
||||
(pdfDocument.getDefaultPageSize().getHeight() - image.getImageHeight()) + 90);
|
||||
image.setMarginTop(20);
|
||||
(pdfDocument.getDefaultPageSize().getHeight() - image.getImageHeight()) + 80);
|
||||
//image.setPaddingTop(20);
|
||||
document.add(image);
|
||||
}
|
||||
}
|
||||
|
@ -244,7 +244,7 @@ public class Geoportal_PDF_Exporter {
|
|||
PdfFont bold = PdfFontFactory.createFont(StandardFonts.TIMES_BOLD);
|
||||
Text title = new Text(projectTitle).setFont(bold);
|
||||
Style style = new Style();
|
||||
style.setPaddingTop(20);
|
||||
style.setPaddingTop(30);
|
||||
style.setTextAlignment(TextAlignment.LEFT);
|
||||
Paragraph p = new Paragraph().add(title).addStyle(style).setFontSize(17);
|
||||
document.add(p);
|
||||
|
|
Loading…
Reference in New Issue