summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-24 11:05:13 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-07-24 11:05:13 -0400
commitd0f48312c233c7aeacad261ad7c03586ef3fae3f (patch)
tree152522edd791f5773165d91d3d4e4c0f5c02d8c8
parent9ff3b6124eed9bdea10ed504e2e147ba92438e25 (diff)
elm/list: remove max size setting on item contents
Summary: this was added in a giant block commit in 2009 without direct explanation; it doesn't seem to make functional sense in the original patch and it definitely doesn't make sense now this greatly improves list performance by causing fewer edje recalcs on list items resulting from list fighting with item content objects over max size hint fix T7176 Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #committers Tags: #efl_widgets Maniphest Tasks: T7176 Differential Revision: https://phab.enlightenment.org/D6669
-rw-r--r--src/lib/elementary/elm_list.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_list.c b/src/lib/elementary/elm_list.c
index 269adb5cdb..fd47d66bcf 100644
--- a/src/lib/elementary/elm_list.c
+++ b/src/lib/elementary/elm_list.c
@@ -1019,14 +1019,12 @@ _items_fix(Evas_Object *obj)
1019 if (it->icon) 1019 if (it->icon)
1020 { 1020 {
1021 evas_object_size_hint_min_set(it->icon, minw[0], minh[0]); 1021 evas_object_size_hint_min_set(it->icon, minw[0], minh[0]);
1022 evas_object_size_hint_max_set(it->icon, 99999, 99999);
1023 edje_object_part_swallow 1022 edje_object_part_swallow
1024 (VIEW(it), "elm.swallow.icon", it->icon); 1023 (VIEW(it), "elm.swallow.icon", it->icon);
1025 } 1024 }
1026 if (it->end) 1025 if (it->end)
1027 { 1026 {
1028 evas_object_size_hint_min_set(it->end, minw[1], minh[1]); 1027 evas_object_size_hint_min_set(it->end, minw[1], minh[1]);
1029 evas_object_size_hint_max_set(it->end, 99999, 99999);
1030 edje_object_part_swallow 1028 edje_object_part_swallow
1031 (VIEW(it), "elm.swallow.end", it->end); 1029 (VIEW(it), "elm.swallow.end", it->end);
1032 } 1030 }