(Sorry for the resend, the subject line last time was a repeat, I am 
afraid that it was over looked because of that)

I'm having problems setting the width of my PdfPTable.  I could provide 
sample code, but I feel that someone on the list might have an answer 
without. Essentially, I'm using PdfPTable.setWidth(x), which sets 
totalWidth. By the time it gets to my PdfPTableEvent.tableLayout 
function, totalWidth has completely changed.

I tried to look into it a little (the wonder of open source) and was 
seeing in PdfDocument:1357, width is being calculated using 
getWidthPercentage.  It then goes onto set the totalWidth based on 
number (line 1369).  What I gather is that totalWidth is always going to 
overwritten.

Should I assume that users should not use setTotalWidth, and should rely 
on setWidthPercentage?  How can set the width of my table in an absolute 
fashion, i.e. not based on page width (via a percentage of)?

-justin



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to