Play with sizes a bit

This commit is contained in:
Marco Pesenti Gritti 2006-09-22 15:06:43 +02:00
parent b6e32680aa
commit 4a1995af8d
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ from sugar.canvas.IconItem import IconItem
class PieceIcon(IconItem):
def __init__(self, piece_item, **kwargs):
IconItem.__init__(self, size=48, **kwargs)
IconItem.__init__(self, size=96, **kwargs)
self._piece_item = piece_item
def construct(self):

View File

@ -45,7 +45,7 @@ class HomeGroup(goocanvas.Group):
tasks.translate(600, 450)
self.add_child(tasks)
me = MyIcon(150)
me = MyIcon(180)
me.translate(600 - (me.get_property('size') / 2),
450 - (me.get_property('size') / 2))
self.add_child(me)