Browse Source

Merge pull request #5386 from Paulb23/code_completion_color_theme

Exposed code completion colors to the text edit theme
Rémi Verschelde 9 năm trước cách đây
mục cha
commit
001294ed35
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      scene/resources/default_theme/default_theme.cpp

+ 3 - 0
scene/resources/default_theme/default_theme.cpp

@@ -469,6 +469,9 @@ void fill_default_theme(Ref<Theme>& t,const Ref<Font> & default_font,const Ref<F
 
 	t->set_font("font","TextEdit", default_font );
 
+	t->set_color("completion_background_color", "TextEdit",Color::html("2C2A32"));
+	t->set_color("completion_selected_color", "TextEdit",Color::html("434244"));
+	t->set_color("completion_existing_color", "TextEdit",Color::html("21dfdfdf"));
 	t->set_color("completion_scroll_color","TextEdit", control_font_color_pressed );
 	t->set_color("font_color","TextEdit", control_font_color );
 	t->set_color("font_color_selected","TextEdit", Color(0,0,0) );