Setting the table size in reportlab

Asked by At

I have a lot of different tables to create in one PDF document, all with difeerent amount of columns. Can you set the table to a certain size? At the moment some are larger then the pagesize and columns are missing and some are much smaller and just fill half a page.

def v2(lc):
                t.setStyle(TableStyle([('SPAN', (0, 1), (-1, 1)),('FONTSIZE',(0,1),(-1,1),15),
                                       ('INNERGRID', (0,3), (-1,-1), 0.25,,
                                       ('BOX', (0,3), (-1,-1), 1,

0 Answers