Fix Label and RichTextLabale text shadows and shadow outlines.

This commit is contained in:
bruvzg 2021-11-06 00:28:48 +02:00
parent 7538c05215
commit 5f9cd9ccbc
11 changed files with 33 additions and 32 deletions

View file

@ -249,7 +249,7 @@ TextureLayeredEditor::TextureLayeredEditor() {
info->set_v_grow_direction(GROW_DIRECTION_BEGIN);
info->add_theme_color_override("font_color", Color(1, 1, 1, 1));
info->add_theme_color_override("font_shadow_color", Color(0, 0, 0, 0.5));
info->add_theme_constant_override("shadow_as_outline", 1);
info->add_theme_constant_override("shadow_outline_size", 1);
info->add_theme_constant_override("shadow_offset_x", 2);
info->add_theme_constant_override("shadow_offset_y", 2);