Hello, I have a problem with JSVGScrollPane. I use the scrollpane with the
canvas. The svgdocument has size bigger than the scrollpane. And the
viewport of the svgdocument as big as the scrollpane. Based on that, I took
the assumption the scrollpane can be scrolled, and the bar for the knob will
showing.

But what happened not like what I assumed. The scrollbar doesn't showing,
and the canvas is cropped, only showing as big as the scrollpane. It took me
more that half day to try using my keyboard to scroll. The scrolling does
work, and more of my cropped picture showing. How to use the scrollpane
correctly so that the scrollbar showing? I have tried to use
setScrollbarsAlwaysVisible(true) but it's can't be used to scroll the
viewports.

Here is my code around the pane, canvas, and the document:


Are there anything wrong?

--
View this message in context: 
http://batik.2283329.n4.nabble.com/JSVGScrollPane-didn-t-detect-the-size-of-JSVGCanvas-built-from-SVGDocument-correctly-tp3781696p3781696.html
Sent from the Batik - Users mailing list archive at Nabble.com.

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

Reply via email to