This commit is contained in:
Marco Pesenti Gritti
2006-09-08 02:59:05 +02:00
parent e56954cf48
commit 5f93f41387
+1 -1
View File
@@ -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)