[Sugar-devel] [PATCH shell 3/3] Home favorites view: enlarge the size of the button to improve touch interaction

Manuel Quiñones manuq at laptop.org
Thu Oct 4 23:54:27 EDT 2012


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.

Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
 src/jarabe/desktop/favoritesview.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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):
-- 
1.7.11.4



More information about the Sugar-devel mailing list