New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table overflowing without needing to? #10
Comments
Thanks for reporting the bug and including code to reproduce it @floydj. Would it be possible for you to include a failing test case too? |
Done |
add failing spec for subtable with colspan > 1; issue #10
Thank you! I'll take a close look at the issue soon. |
I hope I am helping and not being a bother, but I think I hit this bug in my work. If so, I have a simpler block that reproduces it: Prawn::Document.generate('colspan-nested-bug.pdf') do
table([[make_table([[{ content: 'r1c1-2', colspan: 2 }],
[make_table([['r2c1/r1c1'], ['r2c1/r2c1']]),
'r2c2']])]])
end Change the I don't want to mess with the spec that floydj created, but thought some extra info might help someday. |
I have a table with another table inside of it as shown in the picture below. My problem is that the red-bordered table won't fit in the blue table, and is thus overflowing to the following page. If I remove a colspan from the first row in the red-bordered table, it stops overflowing. How can I make the blue-bordered table stop overflowing and still use a colspan in the red-bordered table?
The text was updated successfully, but these errors were encountered: