From 4ef11eb3ed4c9a00ca64c242e61ff82de1e151ea Mon Sep 17 00:00:00 2001 From: isaacremnant Date: Sun, 11 Feb 2018 22:58:39 -0500 Subject: Implements #16546 by adding GROW_DIRECTION_BOTH which allows a control to grow from its center. --- scene/gui/control.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scene/gui/control.h') diff --git a/scene/gui/control.h b/scene/gui/control.h index 51325f27b5..65f75c8a66 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -60,7 +60,8 @@ public: enum GrowDirection { GROW_DIRECTION_BEGIN, - GROW_DIRECTION_END + GROW_DIRECTION_END, + GROW_DIRECTION_BOTH }; enum FocusMode { -- cgit v1.2.3