Ignore:
Timestamp:
12 Dec 2019, 18:38:41 (5 years ago)
Author:
Henrik Bettermann
Message:

Make topMargin customizable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pdf.py

    r15880 r15889  
    824824        pdf_stream = StringIO()
    825825        bottomMargin = len(sigs_in_footer) and 1.9*inch or 1.2*inch
    826         if letterhead_path:
    827             topMargin += 1.2
    828         else:
     826        if not letterhead_path:
    829827            topMargin += title.count('\n') * 0.2
    830828        doc = SimpleDocTemplate(
Note: See TracChangeset for help on using the changeset viewer.