PDA

View Full Version : Window Moves When Clicked


ktabors
03-19-2007, 06:08 PM
In the application I'm working on we seem to have created an interesting issue. The sample code below does the same thing. Windows move to the left when clicked on. I'm not talking about clicking and dragging, but clicking without moving the mouse. Highly entertaining, but not desirable. It seems to be one pixel to the left.

Anyone know what is causing this?

Thanks.

<canvas height="250" bgcolor="#eeeeee">
<view id="dcanvas" x="10"
y="20"
height="200" width="200" />

<window name="imageWindow" height="$once{canvas.height * 0.8}" width="50" visible="true"
x="${canvas.width - this.width - 10}" y="${dcanvas.y + 10}" inset_top="6" inset_bottom="13"
font="Arial, Helvetica, sans-serif">
<text>Hello</text>
</window>
</canvas>