Roo/form/Signature.js
authorChris <chris@roojs.com>
Thu, 10 Oct 2013 00:57:02 +0000 (08:57 +0800)
committerChris <chris@roojs.com>
Thu, 10 Oct 2013 00:57:02 +0000 (08:57 +0800)
Roo/form/Signature.js

index df10e9a..df5782d 100644 (file)
@@ -113,9 +113,9 @@ Roo.extend(Roo.form.Signature, Roo.form.Field,  {
                 {
                     tag: "line",
                     x1: "0", // start
-                    y1: "80", // start
+                    y1: (this.width*0.3), // start
                     x2: this.width, // end
-                    y2: "80", // end
+                    y2: (this.width*0.3), // end
                     'stroke': "#666",
                     'stroke-width': "1",
                     'stroke-dasharray': "3",