diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-01-24 23:39:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-24 23:39:32 +0100 |
commit | 6ad4f16b1dcbd3f3397a7e9c2a635ccc920c5647 (patch) | |
tree | 799523b3279331a5e5ccb90fbe35236f86d245d5 /scene/gui/split_container.cpp | |
parent | 6e65c73f71c2c28e0b186e632427cea399492f22 (diff) | |
parent | a1f955a1d334e987e488d2faa2aec3150e474d10 (diff) |
Merge pull request #25298 from groud/fix_separation_update
Updates containers minimum size when some constants are modified
Diffstat (limited to 'scene/gui/split_container.cpp')
-rw-r--r-- | scene/gui/split_container.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; } } |