diff options
author | Hermet Park <hermet@hermet.pe.kr> | 2016-03-08 20:58:17 +0900 |
---|---|---|
committer | Hermet Park <hermet@hermet.pe.kr> | 2016-03-08 21:00:19 +0900 |
commit | 89a2a7c134c8b5a9ab128c44db693c207bed55f3 (patch) | |
tree | df8c0718ed6ceca13a2da08a5aae2da9e464bd1a | |
parent | 339da71b84b136c8ed8ab286e64d9615167e308a (diff) | |
download | elementary-89a2a7c134c8b5a9ab128c44db693c207bed55f3.tar.gz |
Revert "list: set internal box as homogeneous if no separator items are present"
This reverts commit 9f4c43c20dfa36e7a8be18278acf4336c13574d7.
I'm sorry but this causes a side effect(list sizing issue) at enventor.
And I couldn't find any mis-usage in enventor side.
We can't not accept this patch unless we figure the exact reason out.
-rw-r--r-- | src/lib/elm_list.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index 78c6804c6..14164dcf5 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -815,7 +815,6 @@ _items_fix(Evas_Object *obj) const char *it_plain; const char *it_compress; const char *it_compress_odd; - Eina_Bool separators = EINA_FALSE; ELM_LIST_DATA_GET(obj, sd); @@ -851,7 +850,6 @@ _items_fix(Evas_Object *obj) if (mw > minw[1]) minw[1] = mw; if (mh > minh[1]) minh[1] = mh; } - separators |= it->is_separator; } if ((minw[0] != sd->minw[0]) || (minw[1] != sd->minw[1]) || @@ -865,7 +863,6 @@ _items_fix(Evas_Object *obj) } i = 0; - elm_box_homogeneous_set(sd->box, !separators); EINA_LIST_FOREACH(sd->items, l, eo_it) { ELM_LIST_ITEM_DATA_GET(eo_it, it); |