Skip to content

Commit

Permalink
GH-636 Don't wrap text in PrintStringUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Aug 7, 2024
1 parent f2289db commit 2a7c311
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/script/nodes/utilities/print_string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ int OScriptNodePrintStringInstance::step(OScriptExecutionContext& p_context)
label->set_fit_content(true);
label->set_use_bbcode(true);
label->set_mouse_filter(Control::MOUSE_FILTER_IGNORE);
label->set_h_size_flags(Control::SIZE_EXPAND_FILL);
label->set_autowrap_mode(TextServer::AUTOWRAP_OFF);
container->add_child(label);

label->push_color(p_context.get_input(3));
Expand Down

0 comments on commit 2a7c311

Please sign in to comment.