Bug in document right-margin when more than 1 page.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 9 Dec 2008 15:41:37 +0000 (15:41 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 9 Dec 2008 15:41:37 +0000 (15:41 +0000)
CHANGELOG.txt
reporting/includes/header2.inc

index a3a656abf9bbc527ee08057dfccecb1ed3c3d9b2..3d91082d52db7cd0c278c3eee0392a198a6dc5ef 100644 (file)
@@ -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
index 5ade3e0ef08364bb320a78cbfb31d2e422410f77..9ee5b8136533adfcb9df7d9c911c5729518685ed 100644 (file)
                $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();