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

@ -101,7 +101,7 @@ TexturePreview::TexturePreview(Ref<Texture2D> p_texture, bool p_show_metadata) {
metadata_label->add_theme_color_override("font_outline_color", Color::named("black"));
metadata_label->add_theme_constant_override("outline_size", 2 * EDSCALE);
metadata_label->add_theme_constant_override("shadow_as_outline", 1);
metadata_label->add_theme_constant_override("shadow_outline_size", 1);
metadata_label->set_h_size_flags(Control::SIZE_SHRINK_END);
metadata_label->set_v_size_flags(Control::SIZE_SHRINK_END);