make report dialog height less than 600, for smaller displays [KR]

This commit is contained in:
Paul Franklin 2016-12-09 19:49:52 -08:00
parent f072dd889e
commit f2229db819

View File

@ -364,6 +364,10 @@ class KinshipOptions(MenuReportOptions):
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.set_help(_("The maximum number of descendant generations"))
menu.add_option(category_name, "maxdescend", maxdescend)
@ -384,8 +388,6 @@ class KinshipOptions(MenuReportOptions):
incaunts.set_help(_("Whether to include aunts/uncles/nephews/nieces"))
menu.add_option(category_name, "incaunts", incaunts)
stdoptions.add_localization_option(menu, category_name)
def make_default_style(self, default_style):
"""Make the default output style for the Kinship Report."""
font = FontStyle()