mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Feat(textedit): Set max text length for lua textEdit boxes to int_max by default
This commit is contained in:
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…
Reference in New Issue
Block a user