Klaus -- I put up a demo here:
Scaling demo
Click "TOGGLE" to toggle scale between 1 and 0.5.
Something else I just noticed. In HTML5 the textfield repositions horizontally with it's left edge as if the textfield had been scaled instead of keeping it actually centered. If I give it an absolute width the field scales properly but not the text.
BTW, my current workaround for scaling the textfield text is to compute the scaled font-size then update the field's CSS with the new size. I wonder if zoom: -moz-transform: would work. Actually I know it works for scaling but am not sure how functionality is affected by the iOS zoom bug.
Another thing I see in this demo: bgroundedge seems to scale correctly but it didn't in my more complete coding. Hmmm.
See update in next message.
XML code:
|
Quellcode
|
1
2
3
4
5
|
<krpano>
See updated code in next message.
</krpano>
|