From c5d4bd9e34531729052fb19acb1a96b01d42a17c Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 15 Jul 2019 19:18:51 +0530 Subject: Fixed editor_doc properties font alignment bug --- editor/editor_help.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- cgit v1.2.3