From e524cc7135134f1bdb5a074aa0fb7baf172d4fa4 Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Thu, 9 Nov 2017 19:36:19 -0600 Subject: Fixed project manager and dialog fonts. --- editor/editor_themes.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/editor_themes.cpp') diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 29859a1a56..220ee2b28f 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -801,6 +801,7 @@ Ref create_editor_theme(const Ref p_theme) { theme->set_constant("close_h_ofs", "WindowDialog", 22 * EDSCALE); theme->set_constant("close_v_ofs", "WindowDialog", 20 * EDSCALE); theme->set_constant("title_height", "WindowDialog", 24 * EDSCALE); + theme->set_font("title_font", "WindowDialog", theme->get_font("title", "EditorFonts")); // complex window, for now only Editor settings and Project settings Ref style_complex_window = style_window->duplicate(); -- cgit v1.2.3 From 12251a3a15f537e6102a9ffe9a02a1b930d48e99 Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Thu, 9 Nov 2017 20:45:18 -0600 Subject: Fix theme with custom font. --- editor/editor_themes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/editor_themes.cpp') diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 220ee2b28f..de0c3f55cc 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -1045,7 +1045,7 @@ Ref create_editor_theme(const Ref p_theme) { } Ref create_custom_theme() { - Ref theme; + Ref theme = create_editor_theme(); String custom_theme = EditorSettings::get_singleton()->get("interface/theme/custom_theme"); if (custom_theme != "") { -- cgit v1.2.3