Use monospaced font for code names (methods, signals, properties)
Add monospace font styling to more items in signal workflow Use monospace font in method and property selection dialogs Use monospaced font in Animation editor Add editor setting Additional fixes and things Add documentation to editor setting # Conflicts: # editor/inspector/property_selector.cpp Update doc/classes/EditorSettings.xml Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
@@ -1459,6 +1459,14 @@ void ScriptEditor::_notification(int p_what) {
|
||||
|
||||
members_overview_alphabeta_sort_button->set_button_icon(get_editor_theme_icon(SNAME("Sort")));
|
||||
|
||||
bool use_monospace_font = EDITOR_GET("interface/theme/use_monospace_font_for_editor_symbols");
|
||||
Ref<Font> monospace_font = get_theme_font(SNAME("source"), EditorStringName(EditorFonts));
|
||||
if (use_monospace_font) {
|
||||
members_overview->add_theme_font_override(SceneStringName(font), monospace_font);
|
||||
} else {
|
||||
members_overview->remove_theme_font_override(SceneStringName(font));
|
||||
}
|
||||
|
||||
filter_scripts->set_right_icon(get_editor_theme_icon(SNAME("Search")));
|
||||
filter_methods->set_right_icon(get_editor_theme_icon(SNAME("Search")));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user