mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Disable showing the virtual keyboard on focus events for certain editor components
This commit is contained in:
parent
f29feac7a5
commit
a088b5dc23
4 changed files with 4 additions and 0 deletions
|
|
@ -1865,6 +1865,7 @@ CodeTextEditor::CodeTextEditor() {
|
||||||
text_editor->set_structured_text_bidi_override(TextServer::STRUCTURED_TEXT_GDSCRIPT);
|
text_editor->set_structured_text_bidi_override(TextServer::STRUCTURED_TEXT_GDSCRIPT);
|
||||||
text_editor->set_draw_bookmarks_gutter(true);
|
text_editor->set_draw_bookmarks_gutter(true);
|
||||||
|
|
||||||
|
text_editor->set_virtual_keyboard_show_on_focus(false);
|
||||||
text_editor->set_draw_line_numbers(true);
|
text_editor->set_draw_line_numbers(true);
|
||||||
text_editor->set_highlight_matching_braces_enabled(true);
|
text_editor->set_highlight_matching_braces_enabled(true);
|
||||||
text_editor->set_auto_indent_enabled(true);
|
text_editor->set_auto_indent_enabled(true);
|
||||||
|
|
|
||||||
|
|
@ -902,6 +902,7 @@ EditorSettingsDialog::EditorSettingsDialog() {
|
||||||
search_box = memnew(LineEdit);
|
search_box = memnew(LineEdit);
|
||||||
search_box->set_placeholder(TTR("Filter Settings"));
|
search_box->set_placeholder(TTR("Filter Settings"));
|
||||||
search_box->set_accessibility_name(TTRC("Filter Settings"));
|
search_box->set_accessibility_name(TTRC("Filter Settings"));
|
||||||
|
search_box->set_virtual_keyboard_show_on_focus(false);
|
||||||
search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
hbc->add_child(search_box);
|
hbc->add_child(search_box);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -945,6 +945,7 @@ ProjectDialog::ProjectDialog() {
|
||||||
name_container->add_child(l);
|
name_container->add_child(l);
|
||||||
|
|
||||||
project_name = memnew(LineEdit);
|
project_name = memnew(LineEdit);
|
||||||
|
project_name->set_virtual_keyboard_show_on_focus(false);
|
||||||
project_name->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
project_name->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
name_container->add_child(project_name);
|
name_container->add_child(project_name);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -672,6 +672,7 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
|
||||||
search_box->set_placeholder(TTR("Filter Settings"));
|
search_box->set_placeholder(TTR("Filter Settings"));
|
||||||
search_box->set_accessibility_name(TTRC("Filter Settings"));
|
search_box->set_accessibility_name(TTRC("Filter Settings"));
|
||||||
search_box->set_clear_button_enabled(true);
|
search_box->set_clear_button_enabled(true);
|
||||||
|
search_box->set_virtual_keyboard_show_on_focus(false);
|
||||||
search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
search_bar->add_child(search_box);
|
search_bar->add_child(search_box);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue