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:
parent
750f8d4926
commit
7a27abae49
1 changed files with 1 additions and 0 deletions
|
|
@ -645,6 +645,7 @@ void Control::_notification(int p_notification) {
|
|||
} break;
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
|
||||
minimum_size_changed();
|
||||
update();
|
||||
} break;
|
||||
case NOTIFICATION_MODAL_CLOSE: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue