AnsweredAssumed Answered

Web viewer offset

Question asked by cstowell@crown-point.com on Dec 8, 2011

Title

Web viewer offset

Post

Running FMPA11 on Mac and PC.

I am using the webview to create a an SVG image of the parts that I loop through. There is an offset that is eating up valuable space; I added a border to the webview to make it easy to see in the attached picture. Is there a way to change this that I am missing.

This is the HTML created by the loop for the webview...

data:text/html,

<html>

<body>

<svg xmlns="http://www.w3.org/2000/svg" version="1.1">

<rect x="0" y="0" width="10.4121475054229935" height="150" style="fill:white;fill-opacity:0;stroke:black;stroke-width:1" />

<rect x="5.6941431670281996" y="121.8546637744034707" width="1.6268980477223427" height="1.6268980477223427" style="fill:white;fill-opacity:0;stroke:black;stroke-width:1" />

<rect x="9.1106290672451193" y="0" width="47.1800433839479393" height="10.4121475054229935" style="fill:white;fill-opacity:0;stroke:black;stroke-width:1" />

<rect x="9.1106290672451193" y="134.3817787418655098" width="47.1800433839479393" height="15.6182212581344902" style="fill:white;fill-opacity:0;stroke:black;stroke-width:1" />

<rect x="27.4945770065075922" y="9.1106290672451193" width="10.4121475054229935" height="126.5726681127982646" style="fill:white;fill-opacity:0;stroke:black;stroke-width:1" />

<rect x="54.9891540130151844" y="0" width="10.4121475054229935" height="150" style="fill:white;fill-opacity:0;stroke:black;stroke-width:1" />

<rect x="65.8893709327548807" y="11.2255965292841649" width="1.3015184381778742" height="7.8091106290672451" style="fill:white;fill-opacity:0;stroke:black;stroke-width:1" />

<rect x="65.8893709327548807" y="129.9891540130151844" width="1.3015184381778742" height="7.8091106290672451" style="fill:white;fill-opacity:0;stroke:black;stroke-width:1" />

<text x="0" y="150" fill="red" font-face" stroke="white" stroke-width=.5 font-family="Arial" font-weight = "bold" ; font-size="10">1</text>

<text x="9.1106290672451193" y="10.4121475054229935" fill="red" font-face" stroke="white" stroke-width=.5 font-family="Arial" font-weight = "bold" ; font-size="10">3</text>

<text x="9.1106290672451193" y="150" fill="red" font-face" stroke="white" stroke-width=.5 font-family="Arial" font-weight = "bold" ; font-size="10">4</text>

<text x="15.9533622559652928" y="78.3969631236442516" fill="red" font-face" stroke="white" stroke-width=.5 font-family="Arial" font-weight = "bold" ; font-size="10">5</text>

<text x="27.4945770065075922" y="135.6832971800433839" fill="red" font-face" stroke="white" stroke-width=.5 font-family="Arial" font-weight = "bold" ; font-size="10">6</text>

<text x="43.447939262472885" y="78.3969631236442516" fill="red" font-face" stroke="white" stroke-width=.5 font-family="Arial" font-weight = "bold" ; font-size="10">7</text>

<text x="54.9891540130151844" y="150" fill="red" font-face" stroke="white" stroke-width=.5 font-family="Arial" font-weight = "bold" ; font-size="10">8</text>

</svg>

</body>

</html>

door.jpg

Outcomes