diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-10-05 03:47:32 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-10-05 13:03:14 (GMT) |
commit | 9b3c453970ef923f833d8257491b2c5de4303591 (patch) | |
tree | 1fa8b6bd72278e172491db11d0c2dee3129bb663 | |
parent | c4a59061db7b2eebaa4d18a4b903923f530a60d6 (diff) |
Home favorites view: enlarge the size of the button to improve touch interaction
Note that this does not change the size of the icon inside the button,
but the area around. The zone to tap - click is enlarged, and so it
is the feedback you see while hovering or performing a tap or click.
Also use 'self' for the class attribute.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r-- | src/jarabe/desktop/favoritesview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/desktop/favoritesview.py b/src/jarabe/desktop/favoritesview.py index 4600341..aae745a 100644 --- a/src/jarabe/desktop/favoritesview.py +++ b/src/jarabe/desktop/favoritesview.py @@ -350,7 +350,7 @@ class FavoritesView(ViewContainer): class ActivityIcon(EventIcon): __gtype_name__ = 'SugarFavoriteActivityIcon' - _BORDER_WIDTH = style.zoom(3) + _BORDER_WIDTH = style.zoom(9) _MAX_RESUME_ENTRIES = 5 def __init__(self, activity_info): |