Hello Gibbon group
One question about report, when i setup the report cycle (cycle number 1 total cycle 1)and template,(Report - Courses by Cycle)
system can create the beautiful pdf file, like image A
But when i change the total cycle to 3 or 6 the pdf font will become very small like image B
If i want keep the total cycle setting, and comment stay in the large size,how can i do.
It looks like the PDF renderer is scaling the whole table in order to fit the number of total cycles. You could try preventing the autosizing, I haven’t tried this personally, but it looks like it’s an option if you’re using the mPDF renderer. To do this, edit the Reports - Courses by Cycle template (duplicate if you need an editable copy), then see if you can add the autosize=“1”` attribute to the table tag on line 18. Then save and generate a new report and see if this helps. More info here: https://mpdf.github.io/troubleshooting/resizing.html
Hi Kevin, can you share the complete template code and I can take a look? It might take some different tweaks in the conditionals and variables that are looping to create the tables. You may need to zip it to attach the yml file here. Thanks!
Hello Sandra, i think i get the way to fix this probram,
i copy the same template, Reports - Courses by Cycle template，and trying to separate it become two part, and now i can set up the total report cycle to 6，it looks good now, but i am not sure the structure is currect or not.i will put the file here,if you have time maybe can help me check it. thank you so much.