summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermet@hermet.pe.kr>2016-03-08 20:58:17 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-03-08 21:00:19 +0900
commit89a2a7c134c8b5a9ab128c44db693c207bed55f3 (patch)
treedf8c0718ed6ceca13a2da08a5aae2da9e464bd1a
parent339da71b84b136c8ed8ab286e64d9615167e308a (diff)
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.c3
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)
815 const char *it_plain; 815 const char *it_plain;
816 const char *it_compress; 816 const char *it_compress;
817 const char *it_compress_odd; 817 const char *it_compress_odd;
818 Eina_Bool separators = EINA_FALSE;
819 818
820 ELM_LIST_DATA_GET(obj, sd); 819 ELM_LIST_DATA_GET(obj, sd);
821 820
@@ -851,7 +850,6 @@ _items_fix(Evas_Object *obj)
851 if (mw > minw[1]) minw[1] = mw; 850 if (mw > minw[1]) minw[1] = mw;
852 if (mh > minh[1]) minh[1] = mh; 851 if (mh > minh[1]) minh[1] = mh;
853 } 852 }
854 separators |= it->is_separator;
855 } 853 }
856 854
857 if ((minw[0] != sd->minw[0]) || (minw[1] != sd->minw[1]) || 855 if ((minw[0] != sd->minw[0]) || (minw[1] != sd->minw[1]) ||
@@ -865,7 +863,6 @@ _items_fix(Evas_Object *obj)
865 } 863 }
866 864
867 i = 0; 865 i = 0;
868 elm_box_homogeneous_set(sd->box, !separators);
869 EINA_LIST_FOREACH(sd->items, l, eo_it) 866 EINA_LIST_FOREACH(sd->items, l, eo_it)
870 { 867 {
871 ELM_LIST_ITEM_DATA_GET(eo_it, it); 868 ELM_LIST_ITEM_DATA_GET(eo_it, it);