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

This commit is contained in:
Paul Franklin 2016-12-09 19:49:03 -08:00
parent b848f1cd2a
commit 36380651e4

View File

@ -798,16 +798,6 @@ class DetAncestorOptions(MenuReportOptions):
gen.set_help(_("The number of generations to include in the report")) gen.set_help(_("The number of generations to include in the report"))
addopt("gen", gen) addopt("gen", gen)
pagebbg = BooleanOption(_("Page break between generations"), False)
pagebbg.set_help(
_("Whether to start a new page after each generation."))
addopt("pagebbg", pagebbg)
pageben = BooleanOption(_("Page break before end notes"), False)
pageben.set_help(
_("Whether to start a new page before the end notes."))
addopt("pageben", pageben)
stdoptions.add_localization_option(menu, category) stdoptions.add_localization_option(menu, category)
# Content options # Content options
@ -847,6 +837,16 @@ class DetAncestorOptions(MenuReportOptions):
_("Whether to add descendant references in child list.")) _("Whether to add descendant references in child list."))
addopt("desref", desref) addopt("desref", desref)
pagebbg = BooleanOption(_("Page break between generations"), False)
pagebbg.set_help(
_("Whether to start a new page after each generation."))
addopt("pagebbg", pagebbg)
pageben = BooleanOption(_("Page break before end notes"), False)
pageben.set_help(
_("Whether to start a new page before the end notes."))
addopt("pageben", pageben)
# What to include # What to include
addopt = partial(menu.add_option, _("Include")) addopt = partial(menu.add_option, _("Include"))