Update Control margins when size is overridden by change to minsize
This commit is contained in:
parent
2809d86156
commit
5f5507cc62
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,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 a new issue