Hi Leo, I suspect the problem is that you haven't provided a viewBox attribute in your SVG content. Without that the canvas doesn't know what should be made to fit the window. I suspect you have arranged for the initial window to match your SVG content which is why it comes up fitting the window to begin with.
Leo Lim <[EMAIL PROTECTED]> wrote on 04/12/2007 12:25:41 PM: > Hi, > > I?m currently displaying an svg image in a JFrame. At first, the > image spans the whole frame, however, when I attempt to resize > the frame, the image isn?t resized with it. Is there some setting > where we could automatically resize the image to occupy the > whole window? > > Also found out that this behavior is not in Batik Squiggle. When > I resize the window, the image does not resize as well. > > Thanks! > > Leo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
