diff --git a/docs/en/manuals/editor-scripts-ui.md b/docs/en/manuals/editor-scripts-ui.md index 33992e1b..be936e1a 100644 --- a/docs/en/manuals/editor-scripts-ui.md +++ b/docs/en/manuals/editor-scripts-ui.md @@ -105,14 +105,14 @@ editor.ui.grid({ text = "Level Name", alignment = editor.ui.ALIGNMENT.RIGHT }), - editor.ui.text_field({}) + editor.ui.string_field({}) }, { editor.ui.label({ text = "Author", alignment = editor.ui.ALIGNMENT.RIGHT }), - editor.ui.text_field({}) + editor.ui.string_field({}) } } }) @@ -149,7 +149,7 @@ local create_file = editor.ui.show_dialog(editor.ui.dialog({ text = "New File Name", alignment = editor.ui.ALIGNMENT.CENTER }), - editor.ui.text_field({ + editor.ui.string_field({ grow = true, text = file_name, -- Typing callback: