Quote Originally Posted by alisami View Post
this way you will have the same sized scene and view and no scrollbar will be seen.

I hope this was what you need..
I think you misunderstood my question. Its not that I don't want scrollbars to appear. Infact, I do want scrollbars to appears. The problem is that they are not behaving correctly.

When I resize sceneRect dynamically using the resize handler everything is fine till the the size of the sceneRect is smaller than the viewable area of the graphics view. Once is grows bigger than that, the scroll bars appear but then they do not scroll along and hence the size cannot be increased further using the resize handler.

Also, when the sceneRect size is greater than the viewable area and if we try to reduce the size, then the scrollbars disappear immediately.

I hope its clearer this time.

Thanks,