We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e96cd7b commit 43466a6Copy full SHA for 43466a6
layout/src/main/java/com/itextpdf/layout/renderer/TableWidths.java
@@ -262,7 +262,7 @@ float[] autoLayout() {
262
for (int i = 0; i < widths.length; i++) {
263
if (widths[i].isPercent) {
264
if (sumOfPercents < 100 && sumOfPercents + widths[i].width > 100) {
265
- widths[i].width = sumOfPercents - 100;
+ widths[i].width = 100 - sumOfPercents;
266
sumOfPercents += widths[i].width;
267
warn100percent();
268
} else if (sumOfPercents >= 100) {
0 commit comments