mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Add wrapping description
Original Commit: prusa3d/PrusaSlicer@83b8988 Co-authored-by: YuSanka <yusanka@gmail.com>
This commit is contained in:
@@ -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);
|
format_wxstr("%1%\n(%2%)", def->label.empty() ? _(def->full_label) : _(def->label), type_str);
|
||||||
|
|
||||||
if (def)
|
if (def)
|
||||||
description = _(def->tooltip);
|
description = get_wraped_wxString(_(def->tooltip), 120);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
label = "Undef optptr";
|
label = "Undef optptr";
|
||||||
|
|||||||
Reference in New Issue
Block a user