Merge pull request #5788 from kivy/sh_typo

Fixes #5632, typo of col instead of row.
This commit is contained in:
matham 2018-06-04 15:21:34 -04:00 committed by GitHub
commit d9f551a219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -359,10 +359,10 @@ class GridLayout(Layout):
rows_sh[row] = nmax(rows_sh[row], shh)
if shh_min is not None:
has_bound_y = True
rows_sh_min[col] = nmax(rows_sh_min[col], shh_min)
rows_sh_min[row] = nmax(rows_sh_min[row], shh_min)
if shh_max is not None:
has_bound_y = True
rows_sh_max[col] = nmin(rows_sh_max[col], shh_max)
rows_sh_max[row] = nmin(rows_sh_max[row], shh_max)
self._has_hint_bound_x = has_bound_x
self._has_hint_bound_y = has_bound_y