Fix bug in GridContainer not updating minimumsize when columns changes, fixes #4677
This commit is contained in:
parent
55b83157e7
commit
6a68ce9c93
|
@ -2266,7 +2266,7 @@ void Control::_ref_font( Ref<Font> p_sc) {
|
|||
}
|
||||
}
|
||||
|
||||
void Control::_unref_font(Ref<Font> p_sc) {
|
||||
void Control::_unref_font(Ref<Font> p_sc) {
|
||||
|
||||
ERR_FAIL_COND(!data.font_refcount.has(p_sc));
|
||||
data.font_refcount[p_sc]--;
|
||||
|
|
|
@ -158,6 +158,7 @@ void GridContainer::set_columns(int p_columns) {
|
|||
|
||||
columns=p_columns;
|
||||
queue_sort();
|
||||
minimum_size_changed();
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue