You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Updates error label font in status bar
This commit is contained in:
@@ -1144,6 +1144,7 @@ void CodeTextEditor::_update_font() {
|
|||||||
text_editor->add_font_override("font", get_font("source", "EditorFonts"));
|
text_editor->add_font_override("font", get_font("source", "EditorFonts"));
|
||||||
|
|
||||||
Ref<Font> status_bar_font = get_font("status_source", "EditorFonts");
|
Ref<Font> status_bar_font = get_font("status_source", "EditorFonts");
|
||||||
|
error->add_font_override("font", status_bar_font);
|
||||||
int count = status_bar->get_child_count();
|
int count = status_bar->get_child_count();
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
Control *n = Object::cast_to<Control>(status_bar->get_child(i));
|
Control *n = Object::cast_to<Control>(status_bar->get_child(i));
|
||||||
|
|||||||
Reference in New Issue
Block a user