ModProblemItem: use SPACE_WRAP for the textarea

This commit is contained in:
Fleeym 2024-06-12 12:18:42 +03:00
parent 84e47a596f
commit 4d267d3794

View file

@ -59,7 +59,7 @@ bool ModProblemItem::init(Mod* source, LoadProblem problem, CCSize const& size)
message.c_str(),
"bigFont.fnt"
);
label->setWrappingMode(WrappingMode::WORD_WRAP);
label->setWrappingMode(WrappingMode::SPACE_WRAP);
label->setAnchorPoint({ 0.0f, 0.5f });
label->setMaxLines(4);
if (this->showFixButton()) {