willowsystems / jSignature

jQuery plugin - draw signature in browser.
720 stars 266 forks source link

Undo button is off-center on Chrome on Windows XP #20

Open sflitman opened 11 years ago

sflitman commented 11 years ago

Minor stylistic issue, the undo button appears slightly to the left of center below my canvas. Could I create the undo button and then pass an id to the plugin instead?

Thanks for a great plugin! SSF

sflitman commented 11 years ago

undobuttonbug

sflitman commented 11 years ago

This is the HTML in use, and the only setting I am passing to jSignature is {'UndoButton':true}

<table cellpadding=4 border=0 cellspacing=0 width=90%>
 <tr>
  <td bgcolor=cyan align=center>
   <font color=blue size=+2><b>Signature for :user:</b></font><br>
   <table><tr><td><font color=red>:messages:</font></td></tr></table>
  </td>
 </tr>
 <tr>
  <td bgcolor=cyan align=center>
   <div id="sig"></div>
  </td>
 </tr>
 <tr>
  <td bgcolor=cyan align=center>
   <input type=submit name=modify value="Make Changes">
   <input type=button value="Reset" onClick="$('#sig').jSignature('reset')">
  </td>
 </tr>
</table>
dvdotsenko commented 11 years ago

+1.

I saw same issue on our side but did not yet allocated time to it. It has something to do with widget changing size after it's measured for button placement... Possibly page zooming is also involved.

The issue is on the radar.

sflitman commented 11 years ago

Thanks for the rapid reply! Best, SSF On Jan 31, 2013 11:27 AM, "D. Dotsenko" notifications@github.com wrote:

+1.

I saw same issue on our side but did not yet allocated time to it. It has something to do with widget changing size after it's measured for button placement... Possibly page zooming is also involved.

The issue is on the radar.

— Reply to this email directly or view it on GitHubhttps://github.com/willowsystems/jSignature/issues/20#issuecomment-12957596.