stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=791fc27c4072a79b063f3c083b1acbbc0c275c58

commit 791fc27c4072a79b063f3c083b1acbbc0c275c58
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Aug 17 11:11:08 2018 -0400

    elm/list: correctly handle ELM_LIST_COMPRESS
    
    according to the docs, this mode means that no content size hints should
    be taken into account when calculating size hints for the overall object
    
    fix T7313
    
    Differential Revision: https://phab.enlightenment.org/D6860
---
 src/lib/elementary/elm_list.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/elementary/elm_list.c b/src/lib/elementary/elm_list.c
index a34425b02b..d72909c7dd 100644
--- a/src/lib/elementary/elm_list.c
+++ b/src/lib/elementary/elm_list.c
@@ -778,6 +778,11 @@ _elm_list_mode_set_internal(Evas_Object *obj)
         sd->scr_minw = EINA_TRUE;
         sd->scr_minh = EINA_TRUE;
      }
+   else if (sd->mode == ELM_LIST_COMPRESS)
+     {
+        sd->scr_minw = EINA_FALSE;
+        sd->scr_minh = EINA_FALSE;
+     }
 
    elm_layout_sizing_eval(obj);
 }

-- 


Reply via email to