[Interest] Items vanish from grid when i move down?

Mark markg85 at gmail.com
Sat Nov 17 02:24:43 CET 2012


On Thu, Nov 15, 2012 at 1:24 AM, Mark <markg85 at gmail.com> wrote:
> Hi,
>
> I'm playing with a GridView and animations. What i want to have is
> animate the items _only_ when i resize my window (thus the grid gets
> smaller/bigger). The following snippet does that "somewhat".  Somewhat
> because it animates always, also when added and scrolling..
>
> Now the actual issue is this. When i scroll down the items vanish from
> my grid! Why does that happen and how should i fix that?
>
> Any suggestions on fixing the animation to only work when the window
> is resized would also be welcome.
>
> The snippet: http://paste.kde.org/606980/
>
> Cheers,
> Mark

Right, i figured it out. Here is the new paste snippet that works even
while scrolling. http://paste.kde.org/608486/
Please do post improvements if you have some.



More information about the Interest mailing list