Increase zoom view icon sizes
This commit is contained in:
parent
1f8b5cfbf3
commit
17913d20b8
@ -4,7 +4,7 @@ from view.BuddyMenu import BuddyMenu
|
|||||||
class BuddyIcon(MenuIcon):
|
class BuddyIcon(MenuIcon):
|
||||||
def __init__(self, shell, menu_shell, friend):
|
def __init__(self, shell, menu_shell, friend):
|
||||||
MenuIcon.__init__(self, menu_shell, icon_name='stock-buddy',
|
MenuIcon.__init__(self, menu_shell, icon_name='stock-buddy',
|
||||||
color=friend.get_color(), size=96)
|
color=friend.get_color(), size=112)
|
||||||
|
|
||||||
self._shell = shell
|
self._shell = shell
|
||||||
self._friend = friend
|
self._friend = friend
|
||||||
|
@ -15,7 +15,7 @@ class FriendsGroup(goocanvas.Group):
|
|||||||
self._icon_layout = IconLayout(1200, 900)
|
self._icon_layout = IconLayout(1200, 900)
|
||||||
self._friends = {}
|
self._friends = {}
|
||||||
|
|
||||||
me = MyIcon(100)
|
me = MyIcon(112)
|
||||||
me.translate(600 - (me.get_property('size') / 2),
|
me.translate(600 - (me.get_property('size') / 2),
|
||||||
450 - (me.get_property('size') / 2))
|
450 - (me.get_property('size') / 2))
|
||||||
self.add_child(me)
|
self.add_child(me)
|
||||||
|
@ -14,7 +14,7 @@ class ActivityItem(IconItem):
|
|||||||
self._activity = activity
|
self._activity = activity
|
||||||
|
|
||||||
IconItem.__init__(self, icon_name=self.get_icon_name(),
|
IconItem.__init__(self, icon_name=self.get_icon_name(),
|
||||||
color=self.get_color(), size=96)
|
color=self.get_color(), size=112)
|
||||||
|
|
||||||
def get_id(self):
|
def get_id(self):
|
||||||
return self._activity.get_id()
|
return self._activity.get_id()
|
||||||
|
Loading…
Reference in New Issue
Block a user