Hi list, I'm implementing a log viewer, and the usual is to show then newer entries at the bottom of the list. I got the update mechanism working, but every time the list is updated, it shows the top of the list, even though I was looking at the bottom of the list. How can I tell a list to show the bottom by default? Thanks in advance! PS: Glamour rocks!
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
It's a good question ...
You can manually store the value of vScrollBarValue and set it after the update, but it's a bit ugly ... If someone have a better solution, I am interested in too :) Ben On Jul 21, 2011, at 11:14 AM, Alex Schenkman wrote: > Hi list, > > I'm implementing a log viewer, and the usual is to show then newer entries at the bottom of the list. > I got the update mechanism working, but every time the list is updated, it shows the top of the list, even though I was looking at the bottom of the list. > > How can I tell a list to show the bottom by default? > > Thanks in advance! > > PS: Glamour rocks! > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Alex Schenkman
Hi,
You cannot do that. At least not now. When you update a presentation, the morph gets recreated from scratch. The position of the scrollbar is not saved, and hence not recoverable. That could be an interesting addition, but someone would have to do it :) Cheers, Doru On 21 Jul 2011, at 11:14, Alex Schenkman wrote: > Hi list, > > I'm implementing a log viewer, and the usual is to show then newer entries at the bottom of the list. > I got the update mechanism working, but every time the list is updated, it shows the top of the list, even though I was looking at the bottom of the list. > > How can I tell a list to show the bottom by default? > > Thanks in advance! > > PS: Glamour rocks! > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "Presenting is storytelling." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Benjamin Van Ryseghem (Pharo)
Hi Benjamin,
The question was in the context of Glamour, but indeed, this could be an interesting addition to the renderer. Cheers, Doru On 21 Jul 2011, at 11:54, Benjamin wrote: > It's a good question ... > > You can manually store the value of vScrollBarValue and set it after the update, but it's a bit ugly ... > > If someone have a better solution, I am interested in too :) > > > Ben > > On Jul 21, 2011, at 11:14 AM, Alex Schenkman wrote: > >> Hi list, >> >> I'm implementing a log viewer, and the usual is to show then newer entries at the bottom of the list. >> I got the update mechanism working, but every time the list is updated, it shows the top of the list, even though I was looking at the bottom of the list. >> >> How can I tell a list to show the bottom by default? >> >> Thanks in advance! >> >> PS: Glamour rocks! >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "Speaking louder won't make the point worthier." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |