From 545b490d6b3acc5448a519d521847400fc3ee493 Mon Sep 17 00:00:00 2001 From: =?utf8?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 --- src/lib/elm_bubble.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_bubble.c b/src/lib/elm_bubble.c index 6eb030d..c3cea50 100644 --- a/src/lib/elm_bubble.c +++ b/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); } -- 2.7.4