Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-02-27 16:05:01 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-27 16:05:01 (GMT)
commitb2f50f9da4ba41bf602295308abb3f469efa6810 (patch)
tree054e1f94c224e44d87aa81be4c78a89185e22513 /sugar/graphics
parent7081909d2d959ae1deb973d216e72fa7934a1050 (diff)
parentd398b37645f5d6c59f243a4e6221a842a8beaafe (diff)
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Diffstat (limited to 'sugar/graphics')
-rw-r--r--sugar/graphics/button.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sugar/graphics/button.py b/sugar/graphics/button.py
index ed35431..4419327 100644
--- a/sugar/graphics/button.py
+++ b/sugar/graphics/button.py
@@ -43,8 +43,10 @@ class Button(hippo.CanvasBox, hippo.CanvasItem):
self._icon = None
self._round_box = RoundBox()
- self._round_box.props.border_color = 0
+ self._round_box.props.border_color = color.BLACK.get_int()
self._round_box.props.background_color = color.BLACK.get_int()
+ self._round_box.props.padding_top = units.points_to_pixels(1)
+ self._round_box.props.padding_bottom = units.points_to_pixels(1)
self._text_box = hippo.CanvasText()
self._text_box.props.font_desc = font.DEFAULT.get_pango_desc()