From 7ddc17b18ec9f6fb557b1fa0cfeac97c4b009695 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Sat, 19 Mar 2016 13:37:07 +0100 Subject: [PATCH] BoxContainer: Bind method add_spacer(bool) (cherry picked from commit 0571f961a8758139fdcb34211d80c855dad8c3c6) --- scene/gui/box_container.cpp | 1 + 1 file changed, 1 insertion(+) 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);