diff options
Diffstat (limited to 'editor/themes/editor_theme_manager.cpp')
| -rw-r--r-- | editor/themes/editor_theme_manager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/themes/editor_theme_manager.cpp b/editor/themes/editor_theme_manager.cpp index 4ce323c763..0ef74bed7d 100644 --- a/editor/themes/editor_theme_manager.cpp +++ b/editor/themes/editor_theme_manager.cpp @@ -1690,6 +1690,13 @@ void EditorThemeManager::_populate_editor_styles(const Ref<Theme> &p_theme, Them p_theme->set_stylebox("pressed", "EditorLogFilterButton", editor_log_button_pressed); } + // Top bar selectors. + { + p_theme->set_type_variation("TopBarOptionButton", "OptionButton"); + p_theme->set_font("font", "TopBarOptionButton", p_theme->get_font(SNAME("bold"), EditorStringName(EditorFonts))); + p_theme->set_font_size("font_size", "TopBarOptionButton", p_theme->get_font_size(SNAME("bold_size"), EditorStringName(EditorFonts))); + } + // Complex editor windows. { Ref<StyleBoxFlat> style_complex_window = p_config.window_style->duplicate(); |
