summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <numaanzaheerahmed@yahoo.com>2019-07-15 19:18:51 +0530
committerunknown <numaanzaheerahmed@yahoo.com>2019-07-15 19:18:51 +0530
commitc5d4bd9e34531729052fb19acb1a96b01d42a17c (patch)
treeebcf1e7ad7fb53dc4377aa1e4deb5eea44681e06
parente6230a36f866c09f5ef9d70af33709d95b6fd812 (diff)
Fixed editor_doc properties font alignment bug
-rw-r--r--editor/editor_help.cpp2
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();
}