diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-11-21 22:32:26 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-01-06 15:43:12 +0100 |
commit | e72adab51154805d7f6e3c95ce22f68b001e5af9 (patch) | |
tree | 723dc9bab8fbc05a2b8f8be5a633bbb2738bb182 /scene/gui | |
parent | 84d82030c35017c7470d3373257437ee022024ae (diff) |
Update the minimum size of ViewportContainer
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/subviewport_container.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/subviewport_container.cpp b/scene/gui/subviewport_container.cpp index 6cc64e7ada..760144591e 100644 --- a/scene/gui/subviewport_container.cpp +++ b/scene/gui/subviewport_container.cpp @@ -54,6 +54,7 @@ Size2 SubViewportContainer::get_minimum_size() const { void SubViewportContainer::set_stretch(bool p_enable) { stretch = p_enable; + update_minimum_size(); queue_sort(); update(); } |