diff --git a/scene/gui/texture_button.cpp b/scene/gui/texture_button.cpp index a2bb022be20..e44497721e7 100644 --- a/scene/gui/texture_button.cpp +++ b/scene/gui/texture_button.cpp @@ -293,10 +293,12 @@ void TextureButton::set_normal_texture(const Ref &p_normal) { void TextureButton::set_pressed_texture(const Ref &p_pressed) { pressed = p_pressed; update(); + minimum_size_changed(); } void TextureButton::set_hover_texture(const Ref &p_hover) { hover = p_hover; update(); + minimum_size_changed(); } void TextureButton::set_disabled_texture(const Ref &p_disabled) { disabled = p_disabled; @@ -305,6 +307,7 @@ void TextureButton::set_disabled_texture(const Ref &p_disabled) { void TextureButton::set_click_mask(const Ref &p_click_mask) { click_mask = p_click_mask; update(); + minimum_size_changed(); } Ref TextureButton::get_normal_texture() const {