Play with sizes a bit
This commit is contained in:
parent
b6e32680aa
commit
4a1995af8d
@ -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):
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user