Roo/form/Signature.js
authorChris <chris@roojs.com>
Wed, 9 Oct 2013 10:44:50 +0000 (18:44 +0800)
committerChris <chris@roojs.com>
Wed, 9 Oct 2013 10:44:50 +0000 (18:44 +0800)
Roo/form/Signature.js

index cafe595..c505efc 100644 (file)
@@ -106,7 +106,7 @@ Roo.extend(Roo.form.Signature, Roo.form.Field,  {
               tag : 'svg',
               width: this.width,
               height: this.height,
-              viewBox: "0 0 300 100",
+              viewBox: '0 0 '+this.width+' '+this.height,
               cn : [
                 {
                     tag: "rect",