Do not add extra vertical padding to sub-widgets

This commit is contained in:
Aleksey Lim 2009-07-13 01:57:27 +00:00
parent 442034bb8b
commit 44a8ecd836

View File

@ -351,7 +351,7 @@ class _Palette(gtk.Window):
self._up = False self._up = False
def _setup_page(page, color, hpad): 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.set_padding(vpad, vpad, hpad, hpad)
page.child.child.modify_bg(gtk.STATE_NORMAL, color) page.child.child.modify_bg(gtk.STATE_NORMAL, color)
page.modify_bg(gtk.STATE_NORMAL, color) page.modify_bg(gtk.STATE_NORMAL, color)