Hi Thomas,

I have done the following changes in JSVGScrollPane.java instead of 
"vertical.  setValues(ty, vpSize.height, 0, maxH)" and
"horizontal.setValues(tx, vpSize.width,  0, maxW)". Now horizontal and
vertical scroll bars are updating properly. But SVGCanvas is not updating
properly it means the zoom out changes are not updated in Canvas. It is
happening only when there is no shapes in the viewing transform. You can
reproduce this problem in the attached code in earlier mail.

but if we move the scroll bars, it is showing the SVG document properly. Can
you please explain what may be the problem?

        vertical.setMaximum(maxH);
        vertical.setMinimum(0);
        vertical.setValue(ty);
        vertical.getModel().setExtent(vpSize.height);

        horizontal.setMaximum(maxW);
        horizontal.setMinimum(0);
        horizontal.setValue(tx);
        horizontal.getModel().setExtent(vpSize.width);

Thanks in advance.

Regards,
Selva

-- 
View this message in context: 
http://www.nabble.com/JSVGScrollPane%27s-ScrollBar-not-updating-properly-tf2258957.html#a6303356
Sent from the Batik - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to