You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix Label and RichTextLabale text shadows and shadow outlines.
This commit is contained in:
@@ -1207,7 +1207,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
theme->set_color("font_shadow_color", "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_constant("shadow_outline_size", "RichTextLabel", 1 * EDSCALE);
|
||||
theme->set_stylebox("focus", "RichTextLabel", make_empty_stylebox());
|
||||
theme->set_stylebox("normal", "RichTextLabel", style_tree_bg);
|
||||
|
||||
@@ -1223,7 +1223,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
theme->set_color("font_shadow_color", "Label", Color(0, 0, 0, 0));
|
||||
theme->set_constant("shadow_offset_x", "Label", 1 * EDSCALE);
|
||||
theme->set_constant("shadow_offset_y", "Label", 1 * EDSCALE);
|
||||
theme->set_constant("shadow_as_outline", "Label", 0 * EDSCALE);
|
||||
theme->set_constant("shadow_outline_size", "Label", 1 * EDSCALE);
|
||||
theme->set_constant("line_spacing", "Label", 3 * EDSCALE);
|
||||
|
||||
// LinkButton
|
||||
|
||||
Reference in New Issue
Block a user