diff options
| author | makitso <makitso@gmail.com> | 2017-06-22 09:55:12 -0500 |
|---|---|---|
| committer | makitso <makitso@gmail.com> | 2017-06-22 09:55:12 -0500 |
| commit | 0f11c44634ea585052f1e1d38a78b5a124801ddc (patch) | |
| tree | 0087615b65dec4274ffaf77e625796fb2f3ed7f3 /app | |
| parent | 8e8029e55ff20ec3ed560165a5c32507d2a782dd (diff) | |
| download | webtrees-0f11c44634ea585052f1e1d38a78b5a124801ddc.tar.gz webtrees-0f11c44634ea585052f1e1d38a78b5a124801ddc.tar.bz2 webtrees-0f11c44634ea585052f1e1d38a78b5a124801ddc.zip | |
More Family Book Chart changes
Diffstat (limited to 'app')
| -rw-r--r-- | app/Controller/FamilyBookController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Controller/FamilyBookController.php b/app/Controller/FamilyBookController.php index a077b4fd25..c063c0125d 100644 --- a/app/Controller/FamilyBookController.php +++ b/app/Controller/FamilyBookController.php @@ -117,7 +117,7 @@ class FamilyBookController extends ChartController { $h = ($kids - 1) * 4 + $h; } echo '<td class="tdbot">', - '<img id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $h - 1, '"></td>'; + '<img id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $h -4, '"></td>'; } elseif ($i === count($children) - 1) { // Adjust for the first column on left $h = round(((($this->getBoxDimensions()->height) * $kids) + 8) / 2); @@ -126,7 +126,7 @@ class FamilyBookController extends ChartController { $h = ($kids - 1) * 4 + $h; } echo '<td class="tdtop">', - '<img class="bvertline" width="3" id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" height="', $h + 1, '"></td>'; + '<img class="bvertline" width="3" id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" height="', $h -2, '"></td>'; } else { echo '<td class="tdbot"style="background: url(', Theme::theme()->parameter('image-vline'), ');">', '<img class="spacer" width="3" src="', Theme::theme()->parameter('image-spacer'), '"></td>'; @@ -251,7 +251,7 @@ class FamilyBookController extends ChartController { $lh = $savlh; } } - echo '<img class="line3 pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh - 1, '"></td>', + echo '<img class="line3 pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh -4, '"></td>', '<td>', '<img class="line4" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>', '<td>'; @@ -276,7 +276,7 @@ class FamilyBookController extends ChartController { } } echo '</tr><tr>', - '<td class="tdtop"><img class="pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh + 1, '"></td>', + '<td class="tdtop"><img class="pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh-2, '"></td>', '<td><img class="line4" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>', '<td>'; //-- print the mother box |
