antonio 2004/05/22 23:29:22
Modified: src/webapp/samples/hello-world/style/xsl page2svg.xsl Log: Fixing image size to fit the text Revision Changes Path 1.4 +3 -3 cocoon-2.1/src/webapp/samples/hello-world/style/xsl/page2svg.xsl Index: page2svg.xsl =================================================================== RCS file: /home/cvs//cocoon-2.1/src/webapp/samples/hello-world/style/xsl/page2svg.xsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- page2svg.xsl 6 Mar 2004 02:25:32 -0000 1.3 +++ page2svg.xsl 23 May 2004 06:29:22 -0000 1.4 @@ -20,7 +20,7 @@ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="page"> - <svg width="450" height="160"> + <svg width="500" height="160"> <defs> <filter id="blur1"><feGaussianBlur stdDeviation="3"/></filter> <filter id="blur2"><feGaussianBlur stdDeviation="1"/></filter> @@ -29,7 +29,7 @@ <g title="this is a tooltip"> <rect style="fill:#0086B3;stroke:#000000;stroke-width:4;filter:url(#blur1);" - x="30" y="30" rx="20" ry="20" width="400" height="80"/> + x="30" y="30" rx="20" ry="20" width="450" height="80"/> <xsl:apply-templates/> </g> </svg>
