diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 13:21:50 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 13:21:50 (GMT) |
commit | 739dbafa97525f3a92425fbaf0033d2d58a0a260 (patch) | |
tree | bc4ce8af01fcb61b31d984bd15c26e7b35c6d114 /sugar/graphics | |
parent | 943214dee35df019efa266446a8e544b97fcbafd (diff) |
Improve tooltips sizing
Diffstat (limited to 'sugar/graphics')
-rw-r--r-- | sugar/graphics/palette.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py index a22df74..dc51fe5 100644 --- a/sugar/graphics/palette.py +++ b/sugar/graphics/palette.py @@ -77,6 +77,7 @@ class Palette(gobject.GObject): self._popdown_anim.add(_PopdownAnimation(self)) self._menu = _sugarext.Menu() + self._menu.set_min_width(units.grid_to_pixels(1)) self._primary = _PrimaryMenuItem(label, accel_path) self._menu.append(self._primary) @@ -275,6 +276,7 @@ class Palette(gobject.GObject): class _PrimaryMenuItem(gtk.MenuItem): def __init__(self, label, accel_path): gtk.MenuItem.__init__(self) + self.set_border_width(units.points_to_pixels(1)) self._set_label(label, accel_path) def set_label(self, label, accel_path): |