summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-21 16:01:58 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-21 16:01:58 -0300
commit93ce7d92c17e01cca80e0a1ac2ac28dcc4732c6b (patch)
treecb517e763a9f50f60d3e2ff633f6014843d9e50c /scene/resources/default_theme
parent70752f3e4bee88bd525285fb1fef7149a636b1b2 (diff)
-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.cpp6
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 7d5981522e..2fddafc07b 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 );