瀏覽代碼

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();