Explorar o código

Merge pull request #5187 from volzhs/find-nomatch-notice

change "No matches" noticeable on finder
Juan Linietsky %!s(int64=9) %!d(string=hai) anos
pai
achega
137464af87
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tools/editor/code_editor.cpp

+ 3 - 0
tools/editor/code_editor.cpp

@@ -521,6 +521,9 @@ FindReplaceBar::FindReplaceBar() {
 
 	error_label = memnew(Label);
 	search_options->add_child(error_label);
+	error_label->add_color_override("font_color", Color(1,1,0,1));
+	error_label->add_color_override("font_color_shadow", Color(0,0,0,1));
+	error_label->add_constant_override("shadow_as_outline", 1);
 
 	search_options->add_spacer();