Summary:
For legacy efl_ui_bg_widget or elm_bg, ELM_SCALE is ignored
when calculating internal image size.
Test Plan:
compare elementary_test->bg option with
ELM_SCALE=2.0 elementary_test->bg option
Reviewers: woohyun, jpeg, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Subscribers: cedric, id213sin
Differential Revision: https://phab.enlightenment.org/D5763
{
obj = efl_constructor(efl_super(obj, EFL_UI_BG_WIDGET_LEGACY_CLASS));
efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
+ EFL_UI_BG_WIDGET_DATA_GET_OR_RETURN_VAL(obj, pd, obj);
+ elm_image_no_scale_set(pd->img, EINA_TRUE);
return obj;
}