Merge pull request #28952 from jbuck3/update-margins

Update Control margins when size is overridden by change to minsize
This commit is contained in:
Rémi Verschelde 2019-05-20 22:40:35 +02:00 committed by GitHub
commit 8c95e1aaf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;