You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Update minimum size of SpinBox on theme change
This commit is contained in:
@@ -211,6 +211,10 @@ void SpinBox::_notification(int p_what) {
|
||||
|
||||
_adjust_width_for_icon(get_icon("updown"));
|
||||
_value_changed(0);
|
||||
} else if (p_what == NOTIFICATION_THEME_CHANGED) {
|
||||
|
||||
call_deferred("minimum_size_changed");
|
||||
get_line_edit()->call_deferred("minimum_size_changed");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user