On Thu, Sep 23, 2010 at 3:58 AM, Nicolas Aguirre
<[email protected]> wrote:
> Hi guys,
>
> I did a quick test with gengrid, where i would like to have only one
> object shown at a time. The example program is attached and is really
> simple.
> I just create a gengrid, add it in the window and set the item size to
> be the same than the window size. I thought that only one object would
> be display, but as you can see nothing is displayed. After that if you
> resize the window you can see the grid appear.
> I guess there is a problem here ?

from code there is a "spacer" thing that is calculated based on scale
and has at least 1x1 pixel, so you will have to consider that padding.

all in all, to do what you want you probably want to expose the
scroller paging feature. You'll have to help youself with the code ;-)


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to