From 3db9bdf8d872d5343ad51066c2a5780530f968ed Mon Sep 17 00:00:00 2001 From: Mounir Tohami <53877170+WhalesState@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:21:24 +0000 Subject: [PATCH] Fix `Button` minimum size when `disabled` is toggled. --- scene/gui/base_button.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index 34f50954932e..bd4770bcc36f 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -205,6 +205,7 @@ void BaseButton::set_disabled(bool p_disabled) { status.pressing_inside = false; } queue_redraw(); + update_minimum_size(); } bool BaseButton::is_disabled() const {