8833: Workaround for displaying more lines on Text box via label's height
This commit is contained in:
parent
0f8bdbca00
commit
01a68f5692
@ -248,7 +248,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