Hi Martin,

"emk" <[EMAIL PROTECTED]> wrote on 01/02/2006 10:03:13 AM:

> 1.) how do i update the size / viewbox of a canvas in a way that the
> scrollpane uses the new size.

   call 'setAttributeNS(null, "viewBox", <new view box>)' on the root
SVG element.

> 2.) how do i get the scrollpane to update itself according the new size
> of the canvas?

   I'm not 100% certain I understand the question but I think if you just
update the viewbox the scroll extents will update automatically.

> i have something like this:
> * a template svg file i load into the canvas.
> * an application that calculates new svg objects
> * a DOMSubtreeModified listener calculating the new size of the canvas.
> <--- here i dont get it how to solve 1.) and 2.)


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

Reply via email to