You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Implement font shadows for RichTextLabel
This commit is contained in:
committed by
Markus Törnqvist
parent
23fc8ca223
commit
1c6ea572ca
@@ -891,6 +891,10 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
|
||||
//RichTextLabel
|
||||
theme->set_color("default_color", "RichTextLabel", font_color);
|
||||
theme->set_color("font_color_shadow", "RichTextLabel", Color(0, 0, 0, 0));
|
||||
theme->set_constant("shadow_offset_x", "RichTextLabel", 1 * EDSCALE);
|
||||
theme->set_constant("shadow_offset_y", "RichTextLabel", 1 * EDSCALE);
|
||||
theme->set_constant("shadow_as_outline", "RichTextLabel", 0 * EDSCALE);
|
||||
theme->set_stylebox("focus", "RichTextLabel", make_empty_stylebox());
|
||||
theme->set_stylebox("normal", "RichTextLabel", style_tree_bg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user