diff --git a/scene/gui/box_container.cpp b/scene/gui/box_container.cpp index 6fff90809e2..a9522cf2486 100644 --- a/scene/gui/box_container.cpp +++ b/scene/gui/box_container.cpp @@ -300,6 +300,7 @@ BoxContainer::BoxContainer(bool p_vertical) { void BoxContainer::_bind_methods() { + ObjectTypeDB::bind_method(_MD("add_spacer","begin"),&BoxContainer::add_spacer); ObjectTypeDB::bind_method(_MD("get_alignment"),&BoxContainer::get_alignment); ObjectTypeDB::bind_method(_MD("set_alignment","alignment"),&BoxContainer::set_alignment);