From 44a8ecd8363960b16fa1fe522fc2fb539d939784 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Mon, 13 Jul 2009 01:57:27 +0000 Subject: [PATCH] Do not add extra vertical padding to sub-widgets --- src/sugar/graphics/toolbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar/graphics/toolbar.py b/src/sugar/graphics/toolbar.py index 161de0bc..131bd9d7 100644 --- a/src/sugar/graphics/toolbar.py +++ b/src/sugar/graphics/toolbar.py @@ -351,7 +351,7 @@ class _Palette(gtk.Window): self._up = False def _setup_page(page, color, hpad): - vpad = style._FOCUS_LINE_WIDTH*3 + vpad = style._FOCUS_LINE_WIDTH page.child.set_padding(vpad, vpad, hpad, hpad) page.child.child.modify_bg(gtk.STATE_NORMAL, color) page.modify_bg(gtk.STATE_NORMAL, color)