forked from enlightenment/efl
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.
This commit is contained in:
parent
38608b3c33
commit
4fb304c08c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue