Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib/sugar/graphics/palette.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sugar/graphics/palette.py')
-rw-r--r--lib/sugar/graphics/palette.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sugar/graphics/palette.py b/lib/sugar/graphics/palette.py
index b337133..0acd03b 100644
--- a/lib/sugar/graphics/palette.py
+++ b/lib/sugar/graphics/palette.py
@@ -110,7 +110,8 @@ class Palette(gtk.Window):
vbox = gtk.VBox()
self._label = gtk.Label()
- self._label.set_size_request(-1, style.zoom(style.GRID_CELL_SIZE))
+ self._label.set_size_request(-1, style.zoom(style.GRID_CELL_SIZE)
+ - 2*self.get_border_width())
self._label.set_alignment(0, 0.5)
self._label.set_padding(style.zoom(15), 0)
vbox.pack_start(self._label, False)