Skip to content

Commit

Permalink
Add fixed width for table and quantity and checkbox columns
Browse files Browse the repository at this point in the history
  • Loading branch information
norrismei committed Sep 3, 2024
1 parent b709ea6 commit b24c1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pdfs/picklists_pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def compute_and_render
font_size 11

# Line item table
table(data) do
table(data, :width => bounds.width, :column_widths => { 1 => 65, -2 => 35 }) do
self.header = true
self.cell_style = { padding: [5, 10, 5, 10]}
self.row_colors = %w(dddddd ffffff)
Expand Down

0 comments on commit b24c1c1

Please sign in to comment.