diff options
Diffstat (limited to 'app/Controller/FamilyBookController.php')
| -rw-r--r-- | app/Controller/FamilyBookController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/FamilyBookController.php b/app/Controller/FamilyBookController.php index c063c0125d..17671ec3d7 100644 --- a/app/Controller/FamilyBookController.php +++ b/app/Controller/FamilyBookController.php @@ -190,7 +190,7 @@ class FamilyBookController extends ChartController { $genoffset = $this->generations; // handle pedigree n generations lines //-- calculate how tall the lines should be - $lh = ($this->bhalfheight + 4) * pow(2, ($genoffset - $count - 1)); + $lh = ($this->bhalfheight) * pow(2, ($genoffset - $count - 1)); // //Prints empty table columns for children w/o parents up to the max generation //This allows vertical line spacing to be consistent @@ -246,12 +246,12 @@ class FamilyBookController extends ChartController { } } } - $lh = (($famcount - 1) * ($this->getBoxDimensions()->height + 8) - ($linefactor)); + $lh = (($famcount - 1) * ($this->getBoxDimensions()->height) - ($linefactor)); if ($genoffset > 5) { $lh = $savlh; } } - echo '<img class="line3 pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh -4, '"></td>', + echo '<img class="line3 pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh, '"></td>', '<td>', '<img class="line4" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>', '<td>'; |
