Fit grid with label and component of editor

This commit is contained in:
volzhs 2017-05-22 20:25:19 +09:00
parent 5b3709d309
commit a2ad2eedbb

View File

@ -308,6 +308,7 @@ MarginContainer *VBoxContainer::add_margin_child(const String &p_label, Control
l->set_text(p_label);
add_child(l);
MarginContainer *mc = memnew(MarginContainer);
mc->add_constant_override("margin_left", 0);
mc->add_child(p_control);
add_child(mc);
if (p_expand)