Menu

pedigree chart shift

Help
2003-07-03
2003-07-03
  • Rik Beeftink

    Rik Beeftink - 2003-07-03

    In theme.php, there's a line reading $basexoffset = 20. When I increase this value, the entire pedigree shifts nicely, with the exception of the leftmost arrow, which remains attached to the left side of the screen.
    Rik

     
    • John Finlay

      John Finlay - 2003-07-03

      I will have this fixed in the next version, but to get the current version working you will need to make the following changes to index.php:

      line 147:
      $xoffset = 20+$basexoffset+ (($PEDIGREE_GENERATIONS - $curgen) * ($bwidth+$bxspacing));

      line 178:
      print "\n\t\t<div id=\"childarrow\" style=\"position:absolute; left:".$basexoffset."px; top:".$yoffset."px; width:10px; height:10px; \">";

      Replace the old lines with the new ones above.
      --John

       

Log in to post a comment.