From 49b6f63f5ffd44ddb332155a2aaff5be1d718090 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sun, 22 May 2022 15:49:42 +0800 Subject: [PATCH] Update last min size when Control becomes visible (cherry picked from commit 4ac999cc3fa0d7740356aaafe7ab44da2b16e7dd) --- scene/gui/control.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 5829f5fd8..c110ebae7 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -655,6 +655,7 @@ void Control::_notification(int p_notification) { //remove modalness } else { data.minimum_size_valid = false; + _update_minimum_size(); _size_changed(); }