forked from enlightenment/efl
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:
parent
a6dea4007e
commit
16410aa1cf
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue