From fa7d837011d072a2920c622c23554b29caacded6 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 14 Jun 2003 13:58:24 +0000 Subject: [PATCH] * Ancestors.py (AncestorsReport.__init__): Define Photo and Entry cell styles. svn: r1736 --- gramps2/src/plugins/Ancestors.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gramps2/src/plugins/Ancestors.py b/gramps2/src/plugins/Ancestors.py index cd6c33226..9e3d31f18 100644 --- a/gramps2/src/plugins/Ancestors.py +++ b/gramps2/src/plugins/Ancestors.py @@ -70,9 +70,14 @@ class AncestorsReport (Report.Report): cell = TextDoc.TableCellStyle () cell.set_padding (1) # each side makes 2cm, the size of the photo - table.set_width (100) doc.add_cell_style ("PaddedCell", cell) + cell = TextDoc.TableCellStyle () + doc.add_cell_style ("Photo", cell) + + cell = TextDoc.TableCellStyle () + doc.add_cell_style ("Entry", cell) + if output: self.standalone = 1 self.doc.open(output)