diff options
| author | Juan Linietsky | 2015-04-21 16:01:58 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-04-21 16:01:58 -0300 |
| commit | 93ce7d92c17e01cca80e0a1ac2ac28dcc4732c6b (patch) | |
| tree | cb517e763a9f50f60d3e2ff633f6014843d9e50c /scene/resources/default_theme | |
| parent | 70752f3e4bee88bd525285fb1fef7149a636b1b2 (diff) | |
| download | godot-93ce7d92c17e01cca80e0a1ac2ac28dcc4732c6b.tar.gz godot-93ce7d92c17e01cca80e0a1ac2ac28dcc4732c6b.tar.zst godot-93ce7d92c17e01cca80e0a1ac2ac28dcc4732c6b.zip | |
-Many fixes and demo for RichTexLabel
-Proper ability to edit BBCode in RTL.
Diffstat (limited to 'scene/resources/default_theme')
| -rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 7d5981522..2fddafc07 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -729,7 +729,11 @@ void make_default_theme() { t->set_stylebox("focus","RichTextLabel", focus ); - t->set_font("default_font","RichTextLabel", default_font ); + t->set_font("normal_font","RichTextLabel", default_font ); + t->set_font("bold_font","RichTextLabel", default_font ); + t->set_font("italics_font","RichTextLabel", default_font ); + t->set_font("bold_italics_font","RichTextLabel", default_font ); + t->set_font("mono_font","RichTextLabel", default_font ); t->set_color("default_color","RichTextLabel", control_font_color ); t->set_color("font_color_selected","RichTextLabel", font_color_selection ); |
