diff options
author | Art Welch <artw@apache.org> | 2001-04-25 21:59:00 +0000 |
---|---|---|
committer | Art Welch <artw@apache.org> | 2001-04-25 21:59:00 +0000 |
commit | a9253184af5a1b60ba93c9b1ee73bd6d023059fc (patch) | |
tree | 284613ac1d6d64dc28bfd5cdfd9a0c924dbecc74 /src | |
parent | b53332f09149e17c49ba328046a13e4c67b54f9b (diff) | |
download | xmlgraphics-fop-a9253184af5a1b60ba93c9b1ee73bd6d023059fc.tar.gz xmlgraphics-fop-a9253184af5a1b60ba93c9b1ee73bd6d023059fc.zip |
Each column in the row should start with the same height available.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194224 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/org/apache/fop/fo/flow/TableRow.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java index a95c92a3f..1e1dcc4d9 100644 --- a/src/org/apache/fop/fo/flow/TableRow.java +++ b/src/org/apache/fop/fo/flow/TableRow.java @@ -326,6 +326,7 @@ public class TableRow extends FObj { } int spaceLeft = area.spaceLeft(); + int origMaxHeight = area.getMaxHeight(); this.areaContainer = new AreaContainer(propMgr.getFontState(area.getFontInfo()), 0,0, @@ -419,6 +420,13 @@ public class TableRow extends FObj { //--- change by Hani Elabed 11/22/2000 cell.setStartOffset(cellState.getWidthOfCellSoFar()); + // Each column in the row should start with the same height available + if ( i > 0 ) + { + areaContainer.increaseHeight(areaContainer.spaceLeft() - areaContainer.getMaxHeight() - spaceLeft + origMaxHeight); + areaContainer.setMaxHeight(spaceLeft); + } + Status status; if ((status = cell.layout(areaContainer)).isIncomplete()) { this.marker = i; |