From 433c0a7b96f7455f5d917acb875a81aeca02ae04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ot=C3=83=C2=A1vio=20Pontes?= Date: Tue, 7 Dec 2010 15:55:08 +0000 Subject: [PATCH] Using finger size to calc bubble size SVN revision: 55352 --- legacy/elementary/src/lib/elm_bubble.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elm_bubble.c b/legacy/elementary/src/lib/elm_bubble.c index 6eb030dc56..c3cea50c5a 100644 --- a/legacy/elementary/src/lib/elm_bubble.c +++ b/legacy/elementary/src/lib/elm_bubble.c @@ -90,7 +90,8 @@ _sizing_eval(Evas_Object *obj) Widget_Data *wd = elm_widget_data_get(obj); Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1; if (!wd) return; - edje_object_size_min_calc(wd->bbl, &minw, &minh); + elm_coords_finger_size_adjust(1, &minw, 1, &minh); + edje_object_size_min_restricted_calc(wd->bbl, &minw, &minh, minw, minh); evas_object_size_hint_min_set(obj, minw, minh); evas_object_size_hint_max_set(obj, maxw, maxh); }