Update last min size when Control becomes visible

(cherry picked from commit 4ac999cc3fa0d7740356aaafe7ab44da2b16e7dd)
This commit is contained in:
Haoyu Qiu 2022-05-22 15:49:42 +08:00 committed by Relintai
parent 0b8e21cf74
commit 49b6f63f5f

View File

@ -655,6 +655,7 @@ void Control::_notification(int p_notification) {
//remove modalness //remove modalness
} else { } else {
data.minimum_size_valid = false; data.minimum_size_valid = false;
_update_minimum_size();
_size_changed(); _size_changed();
} }