diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 7e4db82193e..edc8a8bcb8f 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -2266,7 +2266,7 @@ void Control::_ref_font( Ref p_sc) { } } -void Control::_unref_font(Ref p_sc) { +void Control::_unref_font(Ref p_sc) { ERR_FAIL_COND(!data.font_refcount.has(p_sc)); data.font_refcount[p_sc]--; diff --git a/scene/gui/grid_container.cpp b/scene/gui/grid_container.cpp index a514f1b3d7b..dde9768a6d4 100644 --- a/scene/gui/grid_container.cpp +++ b/scene/gui/grid_container.cpp @@ -158,6 +158,7 @@ void GridContainer::set_columns(int p_columns) { columns=p_columns; queue_sort(); + minimum_size_changed(); }