[Genlist] Fix compress mode
authorTae-Hwan Kim <the81.kim@samsung.com>
Tue, 2 Apr 2013 12:19:08 +0000 (21:19 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 3 Apr 2013 12:08:02 +0000 (21:08 +0900)
commit5cd8c83e1317355b299608b7e1dad4d52fe4ff8d
tree5d4fc2857a0ba9d586fc820775d5a07009b8eca0
parent96b298772e351cfaf180c8eec3f8821c3392e594
[Genlist] Fix compress mode

If compress mode is used, viewport width should be used for calculating
item's width. So before edje caculates it's height & width, minimum
restricted width should be given to caculate correct height of item because
edje should know it's width of textblock to caculate it's height of textblock.
(textblock can have multiline texts)
After edje min calc, if width exceeds the viewport width, set width
same as viewport width to compress item.

Change-Id: Ibe225a2e315320dd011972f73663b471af4a7781
src/lib/elm_genlist.c