From 9b5ef6d06987e7d4a6b0122520f1fe379d2ad4d5 Mon Sep 17 00:00:00 2001 From: Paul Franklin <pf.98052@gmail.com> Date: Fri, 9 Dec 2016 19:50:13 -0800 Subject: [PATCH] make report dialog height less than 600, for smaller displays [PR] --- gramps/plugins/textreport/placereport.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/gramps/plugins/textreport/placereport.py b/gramps/plugins/textreport/placereport.py index 0b7c57b96..a6454aeb9 100644 --- a/gramps/plugins/textreport/placereport.py +++ b/gramps/plugins/textreport/placereport.py @@ -431,6 +431,16 @@ class PlaceOptions(MenuReportOptions): """ category_name = _("Report Options") + stdoptions.add_name_format_option(menu, category_name) + + stdoptions.add_private_data_option(menu, category_name) + + stdoptions.add_living_people_option(menu, category_name) + + stdoptions.add_localization_option(menu, category_name) + + category_name = _("Content") + # Reload filters to pick any new ones CustomFilters = None from gramps.gen.filters import CustomFilters, GenericFilter @@ -447,19 +457,11 @@ class PlaceOptions(MenuReportOptions): self.__places.set_help(_("List of places to report on")) menu.add_option(category_name, "places", self.__places) - stdoptions.add_private_data_option(menu, category_name) - - stdoptions.add_living_people_option(menu, category_name) - - stdoptions.add_name_format_option(menu, category_name) - center = EnumeratedListOption(_("Center on"), "Event") center.set_items([("Event", _("Event")), ("Person", _("Person"))]) center.set_help(_("If report is event or person centered")) menu.add_option(category_name, "center", center) - stdoptions.add_localization_option(menu, category_name) - def make_default_style(self, default_style): """ Make the default output style for the Place report.