From 54f720ac0688cc069e5ab7c2d66d2e8649143b75 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Tue, 12 Jul 2016 16:07:17 +0100 Subject: Added block caret to TextEdit --- scene/resources/default_theme/default_theme.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/resources') diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 182bc5dabc..ffc5232e8f 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -481,6 +481,7 @@ void fill_default_theme(Ref& t,const Ref & default_font,const Refset_color("breakpoint_color","TextEdit", Color(0.8,0.8,0.4,0.2) ); t->set_color("current_line_color","TextEdit", Color(0.25,0.25,0.26,0.8) ); t->set_color("caret_color","TextEdit", control_font_color ); + t->set_color("caret_background_color", "TextEdit", Color::html("000000")); t->set_color("symbol_color","TextEdit", control_font_color_hover ); t->set_color("brace_mismatch_color","TextEdit", Color(1,0.2,0.2) ); t->set_color("line_number_color","TextEdit",Color::html("66aaaaaa")); -- cgit v1.2.3