Issue 4162, correction of box width.
svn: r15703
This commit is contained in:
parent
a31d95bd28
commit
4bbc5c08f3
@ -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]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user