Originally Posted by wysota
Hi...
Thats my problem.. resizing it is making it bigger than the size i need... I just need 400 X 400 to be seen in the window and the actual canvas to be 1000 X 1000...
Using canvasview's resizeContents() method, i culdnt get the soln... The problem with it is that it does not reduce the canvas size... if the view's size is greater than the canvas size then the scrollbars are added...
Now when i keep view bigger and canvas smaller then the elements are just created on the canvas's size and thus not all are created... the moment i increase it, it goes out of the window...
thats the problem..
Bookmarks