summaryrefslogtreecommitdiffstats
path: root/editor/themes/editor_fonts.cpp
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2024-01-30 17:35:46 +0100
committerYuri Sizov <yuris@humnom.net>2024-01-30 17:52:25 +0100
commit28e8a4c0ee782fc54b822401885b38172b9b0e41 (patch)
tree961aae399a97158bf2f8bd107bd2452f898f73ba /editor/themes/editor_fonts.cpp
parent068c0d2699066f833694cf912d299acbf6b8755a (diff)
downloadredot-engine-28e8a4c0ee782fc54b822401885b38172b9b0e41.tar.gz
Replace empty list dialog with an integrated panel
Diffstat (limited to 'editor/themes/editor_fonts.cpp')
-rw-r--r--editor/themes/editor_fonts.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/themes/editor_fonts.cpp b/editor/themes/editor_fonts.cpp
index 3479c67b46..c13ee6e6b0 100644
--- a/editor/themes/editor_fonts.cpp
+++ b/editor/themes/editor_fonts.cpp
@@ -388,6 +388,9 @@ void editor_register_fonts(const Ref<Theme> &p_theme) {
p_theme->set_font("main_bold_msdf", EditorStringName(EditorFonts), bold_fc_msdf);
p_theme->set_font_size("bold_size", EditorStringName(EditorFonts), default_font_size);
+ p_theme->set_font("italic", EditorStringName(EditorFonts), italic_fc);
+ p_theme->set_font_size("italic_size", EditorStringName(EditorFonts), default_font_size);
+
// Title font.
p_theme->set_font("title", EditorStringName(EditorFonts), bold_fc);