On Thu, 22 Mar 2012 16:42:32 +0100 Leif Middelschulte
<leif.middelschu...@gmail.com> said:

and now this one is fixed - r69581

> 2012/3/22 Carsten Haitzler <ras...@rasterman.com>:
> > On Thu, 22 Mar 2012 12:15:58 +0100 Leif Middelschulte
> > <leif.middelschu...@gmail.com> said:
> >
> >> 2012/3/22 Carsten Haitzler <ras...@rasterman.com>:
> >> > On Wed, 21 Mar 2012 15:32:41 +0100 Leif Middelschulte
> >> > <leif.middelschu...@gmail.com> said:
> >> >
> >> >> Hello there,
> >> >>
> >> >> thanks to mike, I switched from elm_list to elm_genlist for my little
> >> >> project, for which I need to scroll to the bottom most element of a
> >> >> list, once it's realized.
> >> >>
> >> >> Turns out that genlist can't do this, while elm_list can _if_ you
> >> >> iterate the main loop once.
> >> >>
> >> >> Code that demonstrates it is attached.
> >> >
> >> > wtf? why are u bringing in the item when its realized? the behavior is
> >> > totally bunk as a result. add all the items then just bring in  the last
> >> > one. elm_genlist_item_show() works just fine. bring_in has a bug.
> >> > attached code that works with item_show.
> >> That's my fault. I misunderstood the meaning of "realized" in the
> >> context. I thought elements would be immediately added and that the
> >> "realized" callback would be called once they were really added (since
> >> it's async).
> >> I came to this conclusion because of the error I noticed in elm_list
> >> (newly added item couldn't be scrolled to, because it (maybe) wasn't
> >> there yet).
> >>
> >> Anyway, is there an event, to register for that, that makes it
> >> possible to scroll the newly added element?
> >
> > the code as i attached it. use show or bring_in - your choice. i fixed the
> > bug in svn.
> thanks for almost fixing the issue ;-)
> What I want:
> - Be able to scroll through the list
> - Scroll to a new element, when it's appended
> 
> But the code you provided hides the issue a bit and doesn't work as
> you probably think it does.
> I attached the code to expose it.
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> >
> 
> 
> 
> -- 
> Leif


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to