소스 검색

change "No matches" noticeable on finder

volzhs 9 년 전
부모
커밋
b90ecc6e0a
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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();