From f2229db819f42fa56cc47e77b4b48be32ea7eabb Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Fri, 9 Dec 2016 19:49:52 -0800 Subject: [PATCH] make report dialog height less than 600, for smaller displays [KR] --- gramps/plugins/textreport/kinshipreport.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/textreport/kinshipreport.py b/gramps/plugins/textreport/kinshipreport.py index 868beaf81..f0423c0e8 100644 --- a/gramps/plugins/textreport/kinshipreport.py +++ b/gramps/plugins/textreport/kinshipreport.py @@ -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()