开发者

itext nested table width

Is there a way to control the width of 开发者_JAVA技巧a nested table? It seems to default to the width of the outer table for me.

-Rod


PdfPTable.setTotalWidth(float) for the overall width all at once, or setTotalWidth(float[])] to set the individual absolute column widths (and table width by extension).

The former needs some information on relative column widths if you want to do anything but have evenly spaced columns.

If you're not using PdfPTable, you'll need to change. You have much more control this way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜