exports are made to be wrap_text

This commit is contained in:
Naman Gupta 2017-11-08 00:49:03 +05:30
parent 6c8ebe586c
commit 2e07462d77
6 changed files with 10 additions and 5 deletions

View file

@ -32,5 +32,5 @@ prawn_document(force_download: true, filename: "#{@file_name}.pdf", page_layout:
end
pdf.text "#{@conference.short_title} Events", font_size: 25, align: :center
pdf.table events_array, header: true, cell_style: {size: 8, border_width: 1}
pdf.table events_array, header: true, cell_style: {size: 8, border_width: 1},column_widths: [40,60,90,50,70,65,85,50,55,50,60,45]
end