mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 20:57:18 +01:00
Center icons vertically in editor docs' hierarchy
This commit is contained in:
parent
4bff335622
commit
556b7564cd
@ -255,7 +255,7 @@ void EditorHelp::_add_type_icon(const String &p_type, int p_size) {
|
|||||||
size.height *= ratio;
|
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 {
|
String EditorHelp::_fix_constant(const String &p_constant) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user