Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sugar3/graphics/palette.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sugar3/graphics/palette.py b/src/sugar3/graphics/palette.py
index b2e7ff1..f5aa154 100644
--- a/src/sugar3/graphics/palette.py
+++ b/src/sugar3/graphics/palette.py
@@ -290,6 +290,8 @@ class Palette(PaletteWindow):
self._palette_box.show()
self._widget.add(self._palette_box)
+ height = style.GRID_CELL_SIZE - 2 * self._widget.get_border_width()
+ self._primary_box.set_size_request(-1, height)
if self._content.get_children():
self._content.remove(self._content.get_children()[0])