diff --git a/org.adempiere.base/src/org/compiere/print/layout/LayoutEngine.java b/org.adempiere.base/src/org/compiere/print/layout/LayoutEngine.java index 0210166c23..914f19b6ec 100644 --- a/org.adempiere.base/src/org/compiere/print/layout/LayoutEngine.java +++ b/org.adempiere.base/src/org/compiere/print/layout/LayoutEngine.java @@ -1617,11 +1617,10 @@ public class LayoutEngine implements Pageable, Printable, Doc firstPage.width -= xOffset; int yOffset = (int)m_position[AREA_CONTENT].y - m_content.y; firstPage.y += yOffset; - firstPage.height -= yOffset+m_content.y; + firstPage.height -= yOffset; Rectangle nextPages = new Rectangle(m_content); nextPages.x += xOffset; nextPages.width -= xOffset; - nextPages.height -= yOffset; // Column count List instanceAttributeList = new ArrayList<>(); List instanceAttributeItems = new ArrayList<>(); @@ -2127,4 +2126,4 @@ public class LayoutEngine implements Pageable, Printable, Doc } return colSuppressRepeats.toArray(new Boolean[0]); } -} // LayoutEngine \ No newline at end of file +} // LayoutEngine