As my application is a very graphic application, I don't use layout managers. The JSVGComponent is just placed into a container, and I specify its size and position. Very simple, that's why I don't understand the batik behaviour.
-----Original Message----- From: Tonny Kohar [mailto:[EMAIL PROTECTED] Sent: vendredi 15 mai 2015 08:27 To: Batik Users Subject: RE: Problem with JSVGComponent.setSize Hi, On Fri, 2004-05-14 at 16:36, Tisserand Romuald wrote: > Thanks for your answer. > > I don't know if I use viewbox attributes. > I call getSVGDocumentSize to get the SVG image size and set the JSVGComponent to > that size. Other things to consider also Swing layout. Because for example if you are using JScrollPane layout and the component is smaller than the container, it will automatically recenter the child component. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
