From 3e7d300c5a03929b72d60bae577069fad6629631 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 23 Apr 2018 21:00:08 +0200 Subject: [PATCH] Adapted InscriptionSummaryPDF table style --- candidats/pdf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/candidats/pdf.py b/candidats/pdf.py index 7c73677..6f785f8 100644 --- a/candidats/pdf.py +++ b/candidats/pdf.py @@ -50,12 +50,13 @@ class InscriptionSummaryPDF(EpcBaseDocTemplate): residence_permits = dict(RESIDENCE_PERMITS_CHOICES) ts = TableStyle([ - ('ALIGN', (1, 0), (-1, -1), 'LEFT'), + ('ALIGN', (0, 0), (-1, -1), 'LEFT'), ('FONT', (0, 0), (-1, -1), 'Helvetica'), - ('SIZE', (0, 0), (0, -1), 9) + ('FONTSIZE', (0, 0), (-1, -1), 8), ]) # Personal data + self.story.append(Spacer(0, 2 * cm)) self.story.append(Paragraph("Données personnelles", style_bold)) data = [ ['Nom: ', candidate.last_name,