diff options
| author | Rob Peters <makitso@gmail.com> | 2011-11-19 16:02:11 +0000 |
|---|---|---|
| committer | Rob Peters <makitso@gmail.com> | 2011-11-19 16:02:11 +0000 |
| commit | d64d49d0d534ed58d3677e4f564c22882f2e0726 (patch) | |
| tree | 52a137e2eadf4b690a8835e0b6fc902ffdb948eb /themes/fab/theme.php | |
| parent | fa86203ad3e5ab4aace03005cb36d249fcf083ba (diff) | |
| download | webtrees-d64d49d0d534ed58d3677e4f564c22882f2e0726.tar.gz webtrees-d64d49d0d534ed58d3677e4f564c22882f2e0726.tar.bz2 webtrees-d64d49d0d534ed58d3677e4f564c22882f2e0726.zip | |
This patch makes the charts that use person_box consistent in their height and width.
1.) These values are defined in the theme.php file. For those charts that have the % width option, the patch expands both height and width. For charts with the detailed checkbox unselected, the box size is a consistent percentage of the larger box.
2.) The name block is now set to 1/2 the box height.
Diffstat (limited to 'themes/fab/theme.php')
| -rw-r--r-- | themes/fab/theme.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/themes/fab/theme.php b/themes/fab/theme.php index e18020f99d..7354a894a1 100644 --- a/themes/fab/theme.php +++ b/themes/fab/theme.php @@ -173,22 +173,22 @@ $fanChart=array( // variables for the pedigree chart $bwidth=240; // width of boxes on pedigree chart -$bheight=80; // height of boxes on pedigree chart +$bheight=90; // height of boxes on pedigree chart $baseyoffset=10; // position the entire pedigree tree relative to the top of the page $basexoffset=10; // position the entire pedigree tree relative to the left of the page $bxspacing=0; // horizontal spacing between boxes on the pedigree chart $byspacing=5; // vertical spacing between boxes on the pedigree chart $brborder=1; // box right border thickness -// variables for the descendancy chart -$Dbaseyoffset=0; // position the entire descendancy tree relative to the top of the page -$Dbasexoffset=0; // position the entire descendancy tree relative to the left of the page -$Dbxspacing=0; // horizontal spacing between boxes -$Dbyspacing=1; // vertical spacing between boxes -$Dbwidth=270; // width of DIV layer boxes -$Dbheight=80; // height of DIV layer boxes -$Dindent=15; // width to indent descendancy boxes -$Darrowwidth=15; // additional width to include for the up arrows +// -- descendancy - relationship chart variables +$Dbaseyoffset=20; // -- position the entire descendancy tree relative to the top of the page +$Dbasexoffset=20; // -- position the entire descendancy tree relative to the left of the page +$Dbxspacing=0; // -- horizontal spacing between boxes +$Dbyspacing=10; // -- vertical spacing between boxes +$Dbwidth=250; // -- width of DIV layer boxes +$Dbheight=70; // -- height of DIV layer boxes +$Dindent=15; // -- width to indent descendancy boxes +$Darrowwidth=30; // -- additional width to include for the up arrows $CHARTS_CLOSE_HTML=true; // should the charts, pedigree, descendacy, etc close the HTML on the page |
