Skip to Main Content

Scrollbar postion in the middle of scrolling context

tmazightMay 23 2012 — edited May 23 2012
I'm working on a project where i give the user the ability to zoom an image,
the problem is when the user zoom the image, the right and left scrollbars are positioned at the beggining of the FigureCanevas.

What i want is when redrawing the image, the scrollbars should be in the middle of their scrolling context, what will give him a look on the center of the image after redrawing.

Any idea.


Edited by: Otmane on May 23, 2012 3:57 PM
Post Details
Locked due to inactivity on Jun 20 2012
Added on May 23 2012