Using finger size to calc bubble size

SVN revision: 55352
This commit is contained in:
Otávio Pontes 2010-12-07 15:55:08 +00:00
parent 1f32927291
commit 433c0a7b96
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}