Change minimum size when theme changed

Need to call minimum_size_changed on controls whenever the theme is changed.

Fixes godotengine#29816
This commit is contained in:
Bhupendra Aole 2019-09-03 14:48:47 -04:00
parent 750f8d4926
commit 7a27abae49

View file

@ -645,6 +645,7 @@ void Control::_notification(int p_notification) {
} break;
case NOTIFICATION_THEME_CHANGED: {
minimum_size_changed();
update();
} break;
case NOTIFICATION_MODAL_CLOSE: {