summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2016-03-19 13:37:07 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2016-03-19 13:37:07 +0100
commit0571f961a8758139fdcb34211d80c855dad8c3c6 (patch)
treeceb5a56d9dc0a5f8ba6e31cf976e0c36ca1dfd66 /scene/gui
parent15ba4d34c5040532b7926f6cfe670d081fee79b1 (diff)
BoxContainer: Bind method add_spacer(bool)
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/box_container.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/box_container.cpp b/scene/gui/box_container.cpp
index 6fff90809e..a9522cf248 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);