Fixed table width not working when using colspan

158 views
Skip to first unread message

bohemian

unread,
Feb 10, 2012, 4:50:02 AM2/10/12
to Prawn
Hi.
I'm having troubles with using colspan. Consider this simplified
example:

table [
[{content: 'A', colspan: 3}],
['A', 'B', 'C']
], width: 400

table [
[{content: 'A'*10, colspan: 3}],
['A', 'B', 'C']
], width: 400


I want both tables to have fixed width no matter what content. First
table gets proper width while second one doesn't. It gets shortened. I
can't figure why. Am I doing something wrong?

Brad Ediger

unread,
Feb 10, 2012, 3:00:03 PM2/10/12
to prawn...@googlegroups.com

Confirmed that this is a bug. I'll look into it.

https://github.com/sandal/prawn/issues/323

-be

Arthur Martins

unread,
Feb 29, 2012, 6:59:35 AM2/29/12
to Prawn
This link is not working!


On 10 fev, 17:00, Brad Ediger <brad.edi...@madriska.com> wrote:

Brad Ediger

unread,
Feb 29, 2012, 8:59:48 AM2/29/12
to prawn...@googlegroups.com
On Wed, Feb 29, 2012 at 5:59 AM, Arthur Martins <br.a...@gmail.com> wrote:
> This link is not working!

(FYI, the custom on this mailing list is to trim and reply inline)

The Prawn repository has been moved to the prawnpdf organization on
Github. Here's the updated link for the issue referenced in the link.
I have since fixed the issue on Prawn master:

https://github.com/prawnpdf/prawn/issues/323

-be

Reply all
Reply to author
Forward
0 new messages