diff options
| author | Juan Linietsky | 2016-01-02 15:51:41 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-01-02 15:51:41 -0300 |
| commit | b0b1da69505fe4d9fa3af3e232ffff726f6c055e (patch) | |
| tree | 902e5d7c25b0bcc30b4b18088bb9701f2c55932f /tools/editor/code_editor.cpp | |
| parent | be73e2d2f272d08e68a3eb82346c1ac1dcd99dcd (diff) | |
| download | godot-b0b1da69505fe4d9fa3af3e232ffff726f6c055e.tar.gz godot-b0b1da69505fe4d9fa3af3e232ffff726f6c055e.tar.zst godot-b0b1da69505fe4d9fa3af3e232ffff726f6c055e.zip | |
Make buttons properly obey stylebox content marins, closes #2156
Diffstat (limited to 'tools/editor/code_editor.cpp')
| -rw-r--r-- | tools/editor/code_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/code_editor.cpp b/tools/editor/code_editor.cpp index 59167abc2..fe863bfeb 100644 --- a/tools/editor/code_editor.cpp +++ b/tools/editor/code_editor.cpp @@ -612,6 +612,7 @@ CodeTextEditor::CodeTextEditor() { if (!font_overrode) text_editor->add_font_override("font",get_font("source","Fonts")); + text_editor->set_show_line_numbers(true); text_editor->set_brace_matching(true); text_editor->set_auto_indent(true); |
