Open ArnY opened 9 years ago
Hi @ArnY thanks for the suggestion. I'm not sure whether we want to make this change. Instead maybe it would be better to make the table smart and display only the text that is different for each row. For example here each row starts with "Universite de Nantes - Les journees scientifiques - XYZ" - Piwik could detect that and replace these labels with " ... XYZ " (replace the repeated text with ...
)
Hrm, indeed, that could be another way, but how would you manage to display the first line? Even if the prefix can be substituted by '...' after the first line, it should sitll be be displayed on the first one which is also too long.
That wouldn't work either if all titles are longer than 55 characters without any common prefix or with a prefix (for example "Université de Nantes") but still longer than 55 chars.
In PDF reports, lines in report tables should never be truncated but wrapped instead.
One of my users got the following report by mail:
By using MultiCell instead of Cell in the PDF renderer the user would have gotten this instead:
Commit 9a324337c1cba8ca5fc2d708cf22f310735e2e54 does the trick but needs testing...