Add wrapping description
Original Commit: prusa3d/PrusaSlicer@83b8988 Co-authored-by: YuSanka <yusanka@gmail.com>
This commit is contained in:
parent
0e590083fa
commit
036b21edb9
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ void EditGCodeDialog::bind_list_and_button()
|
|||
format_wxstr("%1%\n(%2%)", def->label.empty() ? _(def->full_label) : _(def->label), type_str);
|
||||
|
||||
if (def)
|
||||
description = _(def->tooltip);
|
||||
description = get_wraped_wxString(_(def->tooltip), 120);
|
||||
}
|
||||
else
|
||||
label = "Undef optptr";
|
||||
|
|
Loading…
Reference in a new issue