setWidthPercentage() only applies to the size relative to the page margins in the outer table. If you want to have the same effect in a nested table you'll have to set the padding of the containing cell.
Best Regards, Paulo Soares --- Jan Bentzen <[EMAIL PROTECTED]> wrote: > Thanks for the suggestion. You're right I could > probably adjust the widths > by changing the padding of containing cells, or add > another empty table to > fill out the remaining space. > Do you, (or one of the developers, perhaps) know if > the setWidthPercentage() > method is supposed to work in this situation or if > it's a bug, or if it is > somehow documented behaviour? > > /jan > > > "Isabelle Guimiot" <[EMAIL PROTECTED]> wrote > in message > news:[EMAIL PROTECTED] > > I'm not sure there's another solution, but you can > > adjust nested tables width by changing the > containing > > cell's padding. Hope it's gonna help you :) > > > > I have another question about nested tables : one > day > > I tried to have a very big nested table, which > > couldn't fit on one page. Everything was fine when > I > > added it alone, but when I added as a nested > table, it > > couldn't appear because the containing cell was > bigger > > than one page and couldn't split. I found another > way > > to do what I wanted to, but now I wonder if it's > > possible to fix that in I-text ? It might be > useful > > for other people... > > > > Isabelle > > > > > From: "Jan Bentzen" <[EMAIL PROTECTED]> > > > To: [EMAIL PROTECTED] > > > Date: Wed, 03 Dec 2003 19:00:50 +0100 > > > Subject: [iText-questions] Settting width > percentage > > > in nested PdfPTables > > > > > > Hi, > > > > > > I'm having a problem controlling the size of > nested > > > PdfPTables. It seems > > > that the setWidthPercentage() method only has > effect > > > on the outermost table > > > - nested tables always take up 100%... Is that > the > > > intended behaviour? > > > Is there a workaround for this? > > > > > > Thanks, > > > Jan > > > > > > > > > _________________________________________________________________ > > > F� alle de nye og sjove ikoner med MSN Messenger > > > http://messenger.msn.dk > > > > > > > > > > > > > > > > ____________________________________________________________________________ > ________ > > Do You Yahoo!? -- Avec Yahoo! soyez au coeur de la > r�colte de dons pour le > T�l�thon. > > http://fr.promotions.yahoo.com/caritatif/ > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback > Program. > > Does SourceForge.net help you be more productive? > Does it > > help you create better code? SHARE THE LOVE, and > help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback > Program. > Does SourceForge.net help you be more productive? > Does it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
