summaryrefslogtreecommitdiff
path: root/app/Controller/HourglassController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/HourglassController.php')
-rw-r--r--app/Controller/HourglassController.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/Controller/HourglassController.php b/app/Controller/HourglassController.php
index b843e27f04..c9fa9e1fdf 100644
--- a/app/Controller/HourglassController.php
+++ b/app/Controller/HourglassController.php
@@ -296,15 +296,8 @@ class HourglassController extends ChartController {
if ($this->show_spouse) {
foreach ($families as $family) {
echo "</td></tr><tr><td style='text-align:$otablealign'>";
- //-- shrink the box for the spouses
- $tempw = $this->getBoxDimensions()->width;
- $temph = $this->getBoxDimensions()->height;
- $this->getBoxDimensions()->width -= 10;
- $this->getBoxDimensions()->height -= 10;
FunctionsPrint::printPedigreePerson($family->getSpouse($person), $this->showFull());
- $this->getBoxDimensions()->width = $tempw;
- $this->getBoxDimensions()->height = $temph;
- $numkids += 0.95;
+ $numkids++;
echo "</td><td></td>";
}
//-- add offset divs to make things line up better