Merge pull request #28952 from jbuck3/update-margins
Update Control margins when size is overridden by change to minsize
This commit is contained in:
commit
8c95e1aaf8
|
@ -289,7 +289,7 @@ void Control::_update_minimum_size() {
|
|||
Size2 minsize = get_combined_minimum_size();
|
||||
if (minsize.x > data.size_cache.x ||
|
||||
minsize.y > data.size_cache.y) {
|
||||
_size_changed();
|
||||
set_size(data.size_cache);
|
||||
}
|
||||
|
||||
data.updating_last_minimum_size = false;
|
||||
|
|
Loading…
Reference in New Issue