From: Joe Hunt Date: Tue, 9 Dec 2008 15:41:37 +0000 (+0000) Subject: Bug in document right-margin when more than 1 page. X-Git-Tag: v2.4.2~19^2~1679 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=813a5c558638f7937da410b969a7935dd0de7342;p=fa-stable.git Bug in document right-margin when more than 1 page. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index a3a656ab..3d91082d 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +09-Dec-2008 Joe Hunt +# Bug in document right-margin when more than 1 page. +$ /reporting/includes/header2.inc + 08-Dec-2008 Janusz Dobrowolski + Added helpers for list editor F4 calls. $ /includes/ui/ui_controls.inc diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index 5ade3e0e..9ee5b813 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -208,10 +208,7 @@ $this->row = $iline5 - $this->lineHeight - 1; $this->Font('bold'); $count = count($this->headers); - if (user_pagesize() == "Letter") - $this->cols[$count] += 40; - else - $this->cols[$count] += 5; + $this->cols[$count] = $right - 3; for ($i = 0; $i < $count; $i++) $this->TextCol($i, $i + 1, $this->headers[$i], -2); $this->Font();