rubenv / tripod

Top secret Banshee-based photo app project! Playground for new ideas that will land in F-Spot.
MIT License
5 stars 2 forks source link

Scrollbar size of iconview not adjusted to the actual size needed. #5

Open rubenv opened 14 years ago

rubenv commented 14 years ago

When you zoom in, the scrollbar should become longer. Zooming out should cause it to disappear. It means that we're invalidating wrong.

I think the culprit will be here, in PhotoGridViewLayout:

    public void Invalidate ()
    {
        InvalidateChildSize ();
        InvalidateChildLayout ();
        InvalidateVirtualSize ();
        InvalidateChildCollection ();
        View.QueueDraw ();
    }

The order is probably wrong. Also, I'm not sure if all of them are needed.