Ignore:
Timestamp:
31 May 2018, 06:10:48 (6 years ago)
Author:
Henrik Bettermann
Message:

Insert whitespace and use smaller fonts on table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/raw_score_report.py

    r15036 r15038  
    7979                scores += ('N/R',)
    8080            else:
    81                 scores += ('%s%s' % (result[0], result[1]),)
     81                scores += ('%s %s' % (result[0], result[1]),)
    8282        composed_line += scores
    8383        table.append(composed_line)
     
    109109    def table_style(self):
    110110        return [
    111             ('FONT', (0,0), (-1,-1), 'Helvetica', self.fontsize),
     111            ('FONT', (0,0), (-1,-1), 'Helvetica', self.fontsize-2),
    112112            ('VALIGN', (0, 1), (-1,-1), 'TOP'),
    113113            #('FONT', (0,0), (0,-1), 'Helvetica-Bold', 8), # 1st column
    114             ('FONT', (0,0), (-1,0), 'Helvetica-Bold', self.fontsize), # 1st row
     114            ('FONT', (0,0), (-1,0), 'Helvetica-Bold', self.fontsize-2), # 1st row
    115115            #('FONT', (0,-1), (-1,-1), 'Helvetica-Bold', 8), # last row
    116116            #('FONT', (-1,0), (-1,-1), 'Helvetica-Bold', 8), # last column
Note: See TracChangeset for help on using the changeset viewer.