xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Selva <selvakumar_...@yahoo.co.in>
Subject JSVGScrollPane's ScrollBar not updating properly
Date Tue, 12 Sep 2006 13:38:10 GMT

Hi All,

      After zoomed In the SVGCanvas to larger size, I have moved the
vertical and horizontal scroll bars to the down right corner of the screen.
Now if I tried to zoom out, scrollbars doesn’t change the scroll bars size.
But when I moved the vertical or horizontal scroll bar, it changes the size
of the scroll bar and canvas size.

When I checked in resizeScrollBars() method in JSVGScrollPane, “scrollbar.
SetValues” sets the correct value. But scrollbar slider size is not updated.
But while scroll bars are in top left position, it works fine.

Values while zoom out - 

   maxW = 3850; maxH = 2506 tx = 3242; ty = 1985
   maxW = 3466; maxH = 2256 tx = 2918; ty = 1787
   maxW = 3119; maxH = 2030 tx = 2626; ty = 1608
   maxW = 2808; maxH = 1827 tx = 2364; ty = 1447
   maxW = 2526; maxH = 1645 tx = 2127; ty = 1303
   maxW = 2274; maxH = 1480 tx = 1915; ty = 1172
   maxW = 2047; maxH = 1332 tx = 1723; ty = 1055

Even here changes are in tx and ty values, the scroll bars are not updated.
Please let me know if there is any solution to resolve the issue.

Regards,
Selva

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


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message