Center icons vertically in editor docs' hierarchy
This commit is contained in:
parent
6f153593dc
commit
90e9e7c37d
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ void EditorHelp::_add_type_icon(const String &p_type, int p_size) {
|
|||
size.height *= ratio;
|
||||
}
|
||||
|
||||
class_desc->add_image(icon, size.width, size.height);
|
||||
class_desc->add_image(icon, size.width, size.height, RichTextLabel::INLINE_ALIGN_CENTER);
|
||||
}
|
||||
|
||||
String EditorHelp::_fix_constant(const String &p_constant) const {
|
||||
|
|
Loading…
Reference in a new issue