From a1f955a1d334e987e488d2faa2aec3150e474d10 Mon Sep 17 00:00:00 2001 From: groud Date: Thu, 24 Jan 2019 22:31:33 +0100 Subject: Updates containers minimum size when some constants are modified --- scene/gui/split_container.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scene/gui/split_container.cpp') diff --git a/scene/gui/split_container.cpp b/scene/gui/split_container.cpp index e4cb2a06fc..d6a93238b2 100644 --- a/scene/gui/split_container.cpp +++ b/scene/gui/split_container.cpp @@ -193,6 +193,10 @@ void SplitContainer::_notification(int p_what) { draw_texture(tex, Point2i(middle_sep + (sep - tex->get_width()) / 2, (size.y - tex->get_height()) / 2)); } } break; + case NOTIFICATION_THEME_CHANGED: { + + minimum_size_changed(); + } break; } } -- cgit v1.2.3