From 813a5c558638f7937da410b969a7935dd0de7342 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 9 Dec 2008 15:41:37 +0000 Subject: [PATCH] Bug in document right-margin when more than 1 page. --- CHANGELOG.txt | 4 ++++ reporting/includes/header2.inc | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) 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(); -- 2.30.2