Fix bug in GridContainer not updating minimumsize when columns changes, fixes #4677

This commit is contained in:
Juan Linietsky 2016-06-17 16:40:40 -03:00
parent 55b83157e7
commit 6a68ce9c93
2 changed files with 2 additions and 1 deletions

View File

@ -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]--;

View File

@ -158,6 +158,7 @@ void GridContainer::set_columns(int p_columns) {
columns=p_columns;
queue_sort();
minimum_size_changed();
}