Typo
This commit is contained in:
parent
e56954cf48
commit
5f93f41387
@ -35,7 +35,7 @@ class GridLayout:
|
||||
y = constraints.y * h / self._rows + padding
|
||||
|
||||
width = constraints.width * w / self._cols - padding * 2
|
||||
height = constraints.height * h / self._rows + padding * 2
|
||||
height = constraints.height * h / self._rows - padding * 2
|
||||
|
||||
width = max(0, width)
|
||||
height = max(0, height)
|
||||
|
Loading…
Reference in New Issue
Block a user