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

This commit is contained in:
Paul Franklin 2016-12-09 19:46:53 -08:00
parent 289d28c22b
commit 55fa8f8d86

View File

@ -693,6 +693,10 @@ class FanChartOptions(MenuReportOptions):
stdoptions.add_living_people_option(menu, category_name)
stdoptions.add_localization_option(menu, category_name)
category_name = _("Content")
max_gen = NumberOption(_("Generations"), 5, 1, self.max_generations)
max_gen.set_help(_("The number of generations "
"to include in the report"))
@ -730,8 +734,6 @@ class FanChartOptions(MenuReportOptions):
"for each generation in the style editor"))
menu.add_option(category_name, "same_style", same_style)
stdoptions.add_localization_option(menu, category_name)
def make_default_style(self, default_style):
"""Make the default output style for the Fan Chart report."""
background_colors = [(255, 63, 0),