Genlist: Calculate the min size of content before item realize
authorJeeyong Um <conr2d@gmail.com>
Fri, 9 Jun 2017 05:34:58 +0000 (14:34 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 9 Jun 2017 06:09:12 +0000 (15:09 +0900)
commit02893c39ba5644ecb9263aeaddb22bfe02b71514
tree830629b3f2591de517860af2a09661024d9c4bae
parentebaffb3533526db8e54e33a3088a98deaaf6b430
Genlist: Calculate the min size of content before item realize

Summary:
Genlist item doesn't change its size when its content size is changed,
but its size is determined in realization.
Therefore, deferred calculations for content should be performed immediately
before swallowing it by genlist item.

Test Plan: make and run attached sample

Reviewers: jpeg, SanghyeonLee, cedric

Differential Revision: https://phab.enlightenment.org/D4705
src/bin/elementary/test_genlist.c
src/lib/elementary/elm_genlist.c