Changeset 8802 for main/waeup.kofa/trunk


Ignore:
Timestamp:
26 Jun 2012, 05:51:24 (13 years ago)
Author:
Henrik Bettermann
Message:

Do not break f_text cell if length of string < 10.

File:
1 edited

Legend:

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

    r8801 r8802  
    268268            f_text = format_html(f_text)
    269269            if f_text:
    270                 hint = '<br /><font size=9>' + widget.hint + '</font>'
     270                if len(f_text) > 10:
     271                    f_text = f_text + '<br />'
     272                hint = ' <font size=9>' + widget.hint + '</font>'
    271273                f_text = f_text + hint
    272274            f_text = Paragraph(f_text, ENTRY1_STYLE)
Note: See TracChangeset for help on using the changeset viewer.