8833: Workaround for displaying more lines on Text box via label's height
This commit is contained in:
parent
51f8fd39c2
commit
20a57037f7
@ -244,7 +244,9 @@ class GVOptions():
|
||||
category = _("Note")
|
||||
################################
|
||||
|
||||
note = TextOption(_("Note to add to the graph"),
|
||||
# workaround for bug 8833
|
||||
lines = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
|
||||
note = TextOption(_("Note to add to the graph") + lines,
|
||||
[""] )
|
||||
note.set_help(_("This text will be added to the graph."))
|
||||
menu.add_option(category, "note", note)
|
||||
|
@ -927,8 +927,10 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
##################
|
||||
category_name = _("Replace")
|
||||
|
||||
# workaround for bug 8833
|
||||
lines = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
|
||||
repldisp = TextOption(
|
||||
_("Replace Display Format:\n'Replace this'/' with this'"),
|
||||
_("Replace Display Format:\n'Replace this'/' with this'") + lines,
|
||||
[])
|
||||
repldisp.set_help(_("i.e.\nUnited States of America/U.S.A"))
|
||||
menu.add_option(category_name, "replace_list", repldisp)
|
||||
|
@ -1578,8 +1578,10 @@ class DescendTreeOptions(MenuReportOptions):
|
||||
##################
|
||||
category_name = _("Replace")
|
||||
|
||||
# workaround for bug 8833
|
||||
lines = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
|
||||
repldisp = TextOption(
|
||||
_("Replace Display Format:\n'Replace this'/' with this'"),
|
||||
_("Replace Display Format:\n'Replace this'/' with this'") + lines,
|
||||
[])
|
||||
repldisp.set_help(_("i.e.\nUnited States of America/U.S.A"))
|
||||
menu.add_option(category_name, "replace_list", repldisp)
|
||||
|
Loading…
Reference in New Issue
Block a user