Update bill title
This commit is contained in:
parent
de004043c3
commit
c7a341b76a
|
@ -533,7 +533,7 @@ class BillPaper(PDFDocument):
|
|||
""" Ajout le titre d'une section """
|
||||
text = "<b>" + title_text + "</b>"
|
||||
paragraph = Paragraph(text, self.style)
|
||||
width, height = paragraph.wrap(6*cm, self.y)
|
||||
width, height = paragraph.wrap(10*cm, self.y)
|
||||
paragraph.drawOn(self.document, INDENTED_X, self.y - height)
|
||||
self.add_vspace(-height)
|
||||
|
||||
|
|
Loading…
Reference in New Issue