From 5f93f4138724f25cacff40c2ce0fc7f9632e5613 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 8 Sep 2006 02:59:05 +0200 Subject: [PATCH] Typo --- sugar/canvas/GridLayout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugar/canvas/GridLayout.py b/sugar/canvas/GridLayout.py index a91d4b7d..c7c08466 100644 --- a/sugar/canvas/GridLayout.py +++ b/sugar/canvas/GridLayout.py @@ -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)