mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
[Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface.
Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
This commit is contained in:
parent
07d14f5bb8
commit
99666de00f
162 changed files with 7008 additions and 3564 deletions
|
@ -719,6 +719,7 @@ void VisualScriptEditor::_update_graph(int p_only_id) {
|
|||
line_edit->set_text(node->get_text());
|
||||
line_edit->set_expand_to_text_length(true);
|
||||
line_edit->add_theme_font_override("font", get_theme_font("source", "EditorFonts"));
|
||||
line_edit->add_theme_font_size_override("font_size", get_theme_font_size("source_size", "EditorFonts"));
|
||||
gnode->add_child(line_edit);
|
||||
line_edit->connect("text_changed", callable_mp(this, &VisualScriptEditor::_expression_text_changed), varray(E->get()));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue