make report dialog height less than 600, for smaller displays [KR]
This commit is contained in:
parent
f072dd889e
commit
f2229db819
@ -364,6 +364,10 @@ class KinshipOptions(MenuReportOptions):
|
|||||||
|
|
||||||
stdoptions.add_living_people_option(menu, category_name)
|
stdoptions.add_living_people_option(menu, category_name)
|
||||||
|
|
||||||
|
stdoptions.add_localization_option(menu, category_name)
|
||||||
|
|
||||||
|
category_name = _("Content")
|
||||||
|
|
||||||
maxdescend = NumberOption(_("Max Descendant Generations"), 2, 1, 20)
|
maxdescend = NumberOption(_("Max Descendant Generations"), 2, 1, 20)
|
||||||
maxdescend.set_help(_("The maximum number of descendant generations"))
|
maxdescend.set_help(_("The maximum number of descendant generations"))
|
||||||
menu.add_option(category_name, "maxdescend", maxdescend)
|
menu.add_option(category_name, "maxdescend", maxdescend)
|
||||||
@ -384,8 +388,6 @@ class KinshipOptions(MenuReportOptions):
|
|||||||
incaunts.set_help(_("Whether to include aunts/uncles/nephews/nieces"))
|
incaunts.set_help(_("Whether to include aunts/uncles/nephews/nieces"))
|
||||||
menu.add_option(category_name, "incaunts", incaunts)
|
menu.add_option(category_name, "incaunts", incaunts)
|
||||||
|
|
||||||
stdoptions.add_localization_option(menu, category_name)
|
|
||||||
|
|
||||||
def make_default_style(self, default_style):
|
def make_default_style(self, default_style):
|
||||||
"""Make the default output style for the Kinship Report."""
|
"""Make the default output style for the Kinship Report."""
|
||||||
font = FontStyle()
|
font = FontStyle()
|
||||||
|
Loading…
Reference in New Issue
Block a user