forked from enlightenment/efl
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:
parent
e561a65c39
commit
edcfc6d036
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue