efl_ui_bg: set scale manually to hand by hand

according to 09d3d5b85a elm scale should
be ignored. However, setting no_scale breaks efl_ui_bg as no_scale
disables scale types, which are required to work.

fix T7080

Differential Revision: https://phab.enlightenment.org/D6494
This commit is contained in:
Marcel Hollerbach 2018-07-02 08:31:54 +02:00
parent a6dea4007e
commit 16410aa1cf
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ _efl_ui_bg_widget_legacy_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
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);
efl_gfx_entity_scale_set(pd->img, 1.0);
return obj;
}