Thanks Marc,
For your reply and your contrib :)

Regards
 Sp

Il giorno gio, 04/11/2010 alle 15.16 +0100, Marc Puts ha scritto:
> The href property can take two types of values: it can either be an 
> instance of svg.core.Element, or a string. If your case you'll want a 
> string.
> 
> If you pass a string, then it must be the exact value of the xlink:href 
> attribute:
> 
> img.setHref("http://test.com/your-svg-file.svg";);
> or
> img.setHref("url('http://test.com/your-svg-file.svg')");
> 
> If your svg file is in your project's resource folder, you can use the 
> standard qooxdoo way to get its uri, as described here: 
> http://manual.qooxdoo.org/1.2.x/pages/gui_toolkit/ui_resources.html#obtaining-the-url-for-a-resource
> 
> Also important to know is that the default width and height of the image 
> element are 0. So you have to manually set the dimensions, they are not 
> automatically taken from the image file.
> 
> 
> 
> Regards,
> Marc
> 
> 
> 
> 
> On 11/04/2010 02:01 PM, Simone Pandolfo wrote:
> > Thank You Marc for the usefull informations,
> > But i missing a point, how i can set the path of the svg file?
> > In the properties of struct.Image there is href, but i see reference
> > only for elements.
> >
> > Regards,
> > Sp
> >    
> 
> 
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 



------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to