forked from enlightenment/efl
Using finger size to calc bubble size
SVN revision: 55352
This commit is contained in:
parent
1f32927291
commit
433c0a7b96
|
@ -90,7 +90,8 @@ _sizing_eval(Evas_Object *obj)
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
|
Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
|
||||||
if (!wd) return;
|
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_min_set(obj, minw, minh);
|
||||||
evas_object_size_hint_max_set(obj, maxw, maxh);
|
evas_object_size_hint_max_set(obj, maxw, maxh);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue