summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-02-26 12:45:26 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-03-02 13:32:43 -0500
commitb6e0282ad8b45990ca30ac3347ee2bf79ff932e3 (patch)
tree0eddd4a033ba87144d3680796f90e380d5edbd66
parent616cc866f2b846d5626e6d99ab9ca3b2a8dcd7af (diff)
downloadelementary-b6e0282ad8b45990ca30ac3347ee2bf79ff932e3.tar.gz
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
-rw-r--r--src/lib/elm_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index e14f86e9e..9a0a33808 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)