Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Enable scroll hint in the "Create New *" dialog for asthetics

Michael Alexsanderd248b3a7afe8
diff --git a/editor/gui/create_dialog.cpp b/editor/gui/create_dialog.cpp
index 844fe174787..fd98fe939a4 100644
--- a/editor/gui/create_dialog.cpp
+++ b/editor/gui/create_dialog.cpp
@@ -1077,6 +1077,7 @@ CreateDialog::CreateDialog() {
search_options = memnew(Tree);
search_box->set_forward_control(search_options);
+ search_options->set_scroll_hint_mode(Tree::SCROLL_HINT_MODE_TOP);
search_options->set_accessibility_name(TTRC("Matches:"));
search_options->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
search_options->set_v_size_flags(Control::SIZE_EXPAND_FILL);