diff options
author | volzhs <volzhs@gmail.com> | 2016-10-13 08:24:25 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2016-10-13 08:24:25 +0900 |
commit | 06903c7ad2708dc078fa4fea90ae1e58d239facc (patch) | |
tree | c50e4c2f8129db8b3f2577cae6d08422c130d0e0 /scene | |
parent | 12843167cacf3bacca32c29b7ea8b4426392bad0 (diff) |
Expose resizable property of GraphNode in inspector
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/graph_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/graph_node.cpp b/scene/gui/graph_node.cpp index 213c5f62c0..eec973ebef 100644 --- a/scene/gui/graph_node.cpp +++ b/scene/gui/graph_node.cpp @@ -769,6 +769,7 @@ void GraphNode::_bind_methods() { ADD_PROPERTY( PropertyInfo(Variant::STRING,"title"),_SCS("set_title"),_SCS("get_title")); ADD_PROPERTY( PropertyInfo(Variant::BOOL,"show_close"),_SCS("set_show_close_button"),_SCS("is_close_button_visible")); + ADD_PROPERTY( PropertyInfo(Variant::BOOL,"resizeable"),_SCS("set_resizeable"),_SCS("is_resizeable")); ADD_SIGNAL(MethodInfo("offset_changed")); ADD_SIGNAL(MethodInfo("dragged",PropertyInfo(Variant::VECTOR2,"from"),PropertyInfo(Variant::VECTOR2,"to"))); |