mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 21:21:10 +00:00
Fix Label and RichTextLabale text shadows and shadow outlines.
This commit is contained in:
parent
7538c05215
commit
5f9cd9ccbc
11 changed files with 33 additions and 32 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue