popup : fix scale calculation in _scroller_size_calc

Summary:
when calculate real size of action area in _scroller_size_calc,
edje base scale is omitted.

Reviewers: jaehwan, id213sin, cedric, raster, singh.amitesh, SanghyeonLee, Hermet

Reviewed By: Hermet

Subscribers: Hermet, herb, jpeg

Differential Revision: https://phab.enlightenment.org/D3857
This commit is contained in:
Jinyong Park 2016-04-11 23:31:03 +09:00 committed by Hermet Park
parent e561a65c39
commit edcfc6d036
1 changed files with 2 additions and 1 deletions

View File

@ -171,7 +171,8 @@ _scroller_size_calc(Evas_Object *obj)
if (action_area_height)
h_action_area =
(int)(atoi(action_area_height)
* elm_config_scale_get() * elm_object_scale_get(obj));
* elm_config_scale_get() * elm_object_scale_get(obj))
/ edje_object_base_scale_get(elm_layout_edje_get(sd->action_area));
}
sd->max_sc_h = h - (h_title + h_action_area);