Adjusted rounded box radius.

This commit is contained in:
Tomeu Vizoso 2007-02-24 15:22:16 +01:00
parent ce800fbc66
commit 2b1445be6c

View File

@ -31,7 +31,7 @@ class RoundBox(hippo.CanvasBox, hippo.CanvasItem):
hippo.CanvasBox.__init__(self, **kwargs)
# TODO: we should calculate this value depending on the height of the box.
self._radius = units.points_to_pixels(10)
self._radius = units.points_to_pixels(7)
self.props.orientation = hippo.ORIENTATION_HORIZONTAL
self.props.border_top = self._BORDER_DEFAULT