diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-15 16:39:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-15 16:39:51 +0200 |
commit | 7599f20c2e4896b820c54fb92cc328671d96aaf7 (patch) | |
tree | ebcf1e7ad7fb53dc4377aa1e4deb5eea44681e06 | |
parent | e6230a36f866c09f5ef9d70af33709d95b6fd812 (diff) | |
parent | c5d4bd9e34531729052fb19acb1a96b01d42a17c (diff) |
Merge pull request #30594 from Anutrix/editor-help-font-fix
Fixed editor_doc properties font alignment bug
-rw-r--r-- | editor/editor_help.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index cd5d26e577..d81a1dbd77 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -444,6 +444,7 @@ void EditorHelp::_update_doc() { class_desc->pop(); class_desc->add_newline(); + class_desc->push_font(doc_code_font); class_desc->push_indent(1); class_desc->push_table(2); class_desc->set_table_column_expand(1, 1); @@ -509,6 +510,7 @@ void EditorHelp::_update_doc() { class_desc->pop(); //table class_desc->pop(); + class_desc->pop(); // font class_desc->add_newline(); class_desc->add_newline(); } |