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-02-26 12:48:33 -0500
commitc45d730af6c574c3208f954ae7b943ca0ca61c8f (patch)
tree76884aeef4f91a77489b329e9e4b674fb6d25a36
parent9f4c43c20dfa36e7a8be18278acf4336c13574d7 (diff)
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,
2302 WIDGET_ITEM_DATA_SET(EO_OBJ(it), data); 2302 WIDGET_ITEM_DATA_SET(EO_OBJ(it), data);
2303 2303
2304 VIEW(it) = edje_object_add(evas_object_evas_get(obj)); 2304 VIEW(it) = edje_object_add(evas_object_evas_get(obj));
2305 edje_object_update_hints_set(VIEW(it), 1);
2305 2306
2306 /* access */ 2307 /* access */
2307 if (_elm_config->access_mode == ELM_ACCESS_MODE_ON) 2308 if (_elm_config->access_mode == ELM_ACCESS_MODE_ON)