Feat(textedit): Set max text length for lua textEdit boxes to int_max by default

macos_ci_fix
Dave Corley 1 year ago committed by Zackhasacat
parent e11bee250f
commit d76ae20c29

@ -8,6 +8,7 @@ namespace LuaUi
{
mEditBox = createWidget<MyGUI::EditBox>("LuaTextEdit", MyGUI::IntCoord(0, 0, 0, 0), MyGUI::Align::Default);
mEditBox->eventEditTextChange += MyGUI::newDelegate(this, &LuaTextEdit::textChange);
mEditBox->setMaxTextLength(std::numeric_limits<std::size_t>::max());
registerEvents(mEditBox);
WidgetExtension::initialize();
}

Loading…
Cancel
Save