summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authormakitso <makitso@gmail.com>2013-10-13 15:34:40 -0500
committerGreg Roach <fisharebest@gmail.com>2013-10-15 19:38:53 +0100
commita75474889c4b2a7e6175017941938bde56b4b454 (patch)
treeae12ac9aa4d273d2b4b26b1805e563199a8e7a94 /library
parent863088e9a0e275f7eb65926a779d417f0b4d87ee (diff)
downloadwebtrees-a75474889c4b2a7e6175017941938bde56b4b454.tar.gz
webtrees-a75474889c4b2a7e6175017941938bde56b4b454.tar.bz2
webtrees-a75474889c4b2a7e6175017941938bde56b4b454.zip
Increase the offset of the pedigree generations a bit more while keeping the root person box as is.
Diffstat (limited to 'library')
-rw-r--r--library/WT/Controller/Pedigree.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/WT/Controller/Pedigree.php b/library/WT/Controller/Pedigree.php
index 82c18cd354..59c67d70bf 100644
--- a/library/WT/Controller/Pedigree.php
+++ b/library/WT/Controller/Pedigree.php
@@ -206,8 +206,8 @@ class WT_Controller_Pedigree extends WT_Controller_Chart {
$this->yoffset-=(($boxspacing/2)*pow(2,($this->PEDIGREE_GENERATIONS-2))-($boxspacing/2));
}
else if ($this->talloffset==1) {
- $this->xoffset = 10 + $basexoffset + (($this->PEDIGREE_GENERATIONS - $this->curgen) * ($this->pbwidth+$bxspacing));
- if ($this->curgen == $this->PEDIGREE_GENERATIONS) $this->xoffset += 10;
+ $this->xoffset = 22 + $basexoffset + (($this->PEDIGREE_GENERATIONS - $this->curgen) * ($this->pbwidth+$bxspacing));
+ if ($this->curgen == $this->PEDIGREE_GENERATIONS) $this->xoffset;
if ($this->PEDIGREE_GENERATIONS<4) $this->xoffset += 60;
}
else if ($this->talloffset==2) {
@@ -253,4 +253,4 @@ class WT_Controller_Pedigree extends WT_Controller_Chart {
if ($f<count($treeid)) adjust_subtree($f, $diff);
if ($m<count($treeid)) adjust_subtree($m, $diff);
}
-} \ No newline at end of file
+}