discomfitor pushed a commit to branch elementary-1.17.

http://git.enlightenment.org/core/elementary.git/commit/?id=b6e0282ad8b45990ca30ac3347ee2bf79ff932e3

commit b6e0282ad8b45990ca30ac3347ee2bf79ff932e3
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Feb 26 12:45:26 2016 -0500

    list: set update hints on item edje objects
    
    without size hints on the edje object, a list item will never be sized
    accurately, meaning that the size hints set on subobjects (icon, end) are
    ignored in nearly all cases, and any previous sizing which was accurate was,
    in fact, merely coincidentally accurate
    
    @fix
---
 src/lib/elm_list.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index e14f86e..9a0a338 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -2302,6 +2302,7 @@ _item_new(Evas_Object *obj,
    WIDGET_ITEM_DATA_SET(EO_OBJ(it), data);
 
    VIEW(it) = edje_object_add(evas_object_evas_get(obj));
+   edje_object_update_hints_set(VIEW(it), 1);
 
    /* access */
    if (_elm_config->access_mode == ELM_ACCESS_MODE_ON)

-- 


Reply via email to