jaehyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=09d3d5b85ad4a0b7441b5b1e508db0e595bef395

commit 09d3d5b85ad4a0b7441b5b1e508db0e595bef395
Author: Sungtaek Hong <sth253.h...@samsung.com>
Date:   Mon Jan 29 16:57:41 2018 +0900

    efl_ui_bg_widget_legacy: ignore ELM_SCALE
    
    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
---
 src/lib/elementary/efl_ui_bg_widget.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elementary/efl_ui_bg_widget.c 
b/src/lib/elementary/efl_ui_bg_widget.c
index dba5dd7a34..3cc8fb1c58 100644
--- a/src/lib/elementary/efl_ui_bg_widget.c
+++ b/src/lib/elementary/efl_ui_bg_widget.c
@@ -244,6 +244,8 @@ _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);
 
    return obj;
 }

-- 


Reply via email to