enable "indent spouse" option to /not/ indent a spouse
svn: r21927
This commit is contained in:
parent
0f7246f9ee
commit
e3934bc72d
@ -374,6 +374,7 @@ class RecurseDown:
|
|||||||
self.inlc_marr = gui.get_val("inc_marr")
|
self.inlc_marr = gui.get_val("inc_marr")
|
||||||
if not self.max_spouses:
|
if not self.max_spouses:
|
||||||
self.inlc_marr = False
|
self.inlc_marr = False
|
||||||
|
self.spouse_indent = gui.get_val('ind_spouse')
|
||||||
|
|
||||||
#is the option even available?
|
#is the option even available?
|
||||||
self.bold_direct = gui.get_val('bolddirect')
|
self.bold_direct = gui.get_val('bolddirect')
|
||||||
@ -427,7 +428,10 @@ class RecurseDown:
|
|||||||
if box.level[1] == 0:
|
if box.level[1] == 0:
|
||||||
self.__last_direct[level] = box
|
self.__last_direct[level] = box
|
||||||
|
|
||||||
box.x_cm = self.canvas.report_opts.spouse_offset * box.level[1]
|
if self.spouse_indent:
|
||||||
|
box.x_cm = self.canvas.report_opts.spouse_offset * box.level[1]
|
||||||
|
else:
|
||||||
|
box.x_cm = 0.0
|
||||||
|
|
||||||
self.canvas.set_box_height_width(box)
|
self.canvas.set_box_height_width(box)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user