mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #30594 from Anutrix/editor-help-font-fix
Fixed editor_doc properties font alignment bug
This commit is contained in:
commit
7599f20c2e
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user