diff --git a/src/plugins/drawreport/AncestorTree.py b/src/plugins/drawreport/AncestorTree.py index 6a1f7c77b..da74bfd95 100644 --- a/src/plugins/drawreport/AncestorTree.py +++ b/src/plugins/drawreport/AncestorTree.py @@ -236,7 +236,7 @@ class AncestorTree(Report): self.text[index] = subst.replace_and_clean(self.display) for line in self.text[index]: - this_box_width = self.doc.string_width(font,line) + this_box_width = self.doc.string_width(font,line) + (2 * em) self.box_width = max(self.box_width, this_box_width) self.lines = max(self.lines, len(self.text[index]))