jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2b4f674a0d626d99ce59ab54c6f563643a4b3397

commit 2b4f674a0d626d99ce59ab54c6f563643a4b3397
Author: Sungtaek Hong <[email protected]>
Date:   Thu Oct 12 15:29:39 2017 +0900

    efl_ui_bg: fix ELM_BG_OPTION_CENTER bg in left top side.
    
    Summary:
     - setting size_hint_min logic was deleted while changed elm_bg to 
efl_ui_bg.
     - this sets size_hint_min again.
    
    @fix
    
    Test Plan:
    1. Run Elementary test
               2. Run Bg Option
               3. Select Center radio.
               4. Resize windows.
               5. Observe bg images remains in center.
    
    Reviewers: jpeg, JackDanielZ
    
    Subscribers: cedric, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D5281
---
 src/lib/elementary/efl_ui_bg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/efl_ui_bg.c b/src/lib/elementary/efl_ui_bg.c
index d12b5fd10b..2af172a395 100644
--- a/src/lib/elementary/efl_ui_bg.c
+++ b/src/lib/elementary/efl_ui_bg.c
@@ -81,6 +81,7 @@ _efl_ui_bg_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Bg_Data *sd)
 
    evas_object_image_fill_set(sd->img, fx, fy, fw, fh);
 
+   evas_object_size_hint_min_set(sd->img, mw, mh);
    evas_object_size_hint_max_set(sd->img, mw, mh);
 }
 

-- 


Reply via email to