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 aa7767c commit 2e7ce2fCopy full SHA for 2e7ce2f
layout/src/main/java/com/itextpdf/layout/renderer/TableWidths.java
@@ -296,7 +296,7 @@ float[] autoLayout() {
296
}
297
298
299
- if (sumOfPercents < 100 && totalNonPercent == 0) {
+ if (sumOfPercents > 0 && sumOfPercents < 100 && totalNonPercent == 0) {
300
// each column has percent value but sum < 100%
301
// upscale percents
302
for (int i = 0; i < widths.length; i++) {
0 commit comments