2007-09-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net>

* src/plugins/IndivComplete.py (write_person):
	* src/plugins/IndivSummary.py (write_report):
	Change image alignment from 'row' to 'center'.



svn: r8964
This commit is contained in:
Zsolt Foldvari 2007-09-12 10:57:06 +00:00
parent 2fbe01e584
commit 1cc238eea2
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-09-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/IndivComplete.py (write_person):
* src/plugins/IndivSummary.py (write_report):
Change image alignment from 'row' to 'center'.
2007-09-08 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/lineage.py: Quick report lineage based on code Jerome
* po/POTFILES.in : translate lineage

View File

@ -445,7 +445,7 @@ class IndivCompleteReport(Report):
filename = object.get_path()
if os.path.exists(filename):
self.doc.start_paragraph("IDS-Normal")
self.doc.add_media_object(filename,"row",4.0,4.0)
self.doc.add_media_object(filename, "center", 4.0, 4.0)
self.doc.end_paragraph()
else:
WarningDialog(_("Could not add photo to page"),

View File

@ -197,7 +197,7 @@ class IndivSummary(Report):
if mime_type and mime_type.startswith("image"):
file = object.get_path()
self.doc.start_paragraph("IVS-Normal")
self.doc.add_media_object(file,"row",4.0,4.0)
self.doc.add_media_object(file, "center", 4.0, 4.0)
self.doc.end_paragraph()
self.doc.start_table("one","IVS-IndTable")