Can anybody check about this?

-----Original Message-----
From: Jeonghyun Yun [mailto:[email protected]] 
Sent: Friday, February 11, 2011 11:15 AM
To: '[email protected]'
Subject: [E-devel] [Patch] elm_gengrid calc_job patch

Hello.

When I tested gengrid, sometimes gengrid renderd two times in different
shape in a moment.
So I checked gengrid code, I found cause in calc_job function.

calc_job added to ecore job after elm_gengrid_item_size_set and
elm_gengrid_item_append(,prepend,insert_before,insert_after).
Sometimes pan_smart's cvw and cvh is 0 at this time.

For Example,

If (item_width = 120, item_height = 120, horizontal = EINA_FALSE, item_count
= 8, cvw = 0, cvh = 0) 
Then, nmax = 0 but nmax < 1 then nmax = 1 
Then, minw = 120 (1*120), minh = 960 (8*120), and then pan_smart "changed"
callback called.

I don't know why this code is added.
if (nmax < 1) nmax = 1;

I attached patch file for this problem.
Can anybody check about this ?

Thanks.


------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to