Skip to content

Commit

Permalink
Set initial x coordinate for header cells
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Tse committed Jul 13, 2012
1 parent baa6e80 commit 32fdbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prawn/table.rb
Expand Up @@ -491,7 +491,7 @@ def make_cells(data)
def add_header(page_of_cells, y, row)
@header_row.each do |cell|
cell.row = row
page_of_cells << [cell, [cell.x, y]]
page_of_cells << [cell, [cell.x + @pdf.bounds.left_side - @pdf.bounds.absolute_left, y]]
end
@header_row.height
end
Expand Down

0 comments on commit 32fdbe9

Please sign in to comment.