Changeset 13879


Ignore:
Timestamp:
5 Jun 2016, 05:16:05 (9 years ago)
Author:
Henrik Bettermann
Message:

Valign rows.

File:
1 edited

Legend:

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

    r13878 r13879  
    5959            continue
    6060        passed_params = level_obj.passed_params
    61         failed_courses = textwrap.fill(passed_params[4], 30)
     61        failed_courses = textwrap.fill(passed_params[4], 35)
    6262        line = (
    6363                #stud.student_id,
     
    126126TABLE_STYLE = [
    127127    ('FONT', (0,0), (-1,-1), 'Helvetica', 8),
     128    ('VALIGN', (0, 1), (-1,-1), 'TOP'),
    128129    #('FONT', (0,0), (0,-1), 'Helvetica-Bold', 8), # 1st column
    129130    ('FONT', (0,0), (-1,0), 'Helvetica-Bold', 8), # 1st row
     
    169170        table_data = tbl_data_to_table(self.data)
    170171        #col_widths = [3.5*cm] * len(self.data[0])
    171         col_widths = [1*cm, 4*cm, 5*cm, 0.8*cm, 0.8*cm, 0.8*cm,
    172                       6*cm, 0.8*cm, 0.8*cm, 0.8*cm]
     172        col_widths = [1*cm, 4*cm, 5*cm, 0.8*cm, 0.8*cm, 1*cm,
     173                      6*cm, 0.8*cm, 0.8*cm, 1*cm]
    173174        pdf_data = [Paragraph('<b>%s</b>' % self.creation_dt_string,
    174175                              STYLE["Normal"]),
Note: See TracChangeset for help on using the changeset viewer.