Roo/mailer/Column.js
authorAlan Knowles <alan@roojs.com>
Thu, 18 Sep 2014 10:30:54 +0000 (18:30 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 18 Sep 2014 10:30:54 +0000 (18:30 +0800)
Roo/mailer/Column.js

index 65f44d7..8623e7e 100644 (file)
@@ -69,7 +69,7 @@ Roo.extend(Roo.mailer.Column, Roo.bootstrap.Component,  {
                                 tag : 'img',
                                 src : this.src,
                                 cls : 'roo-m-column-image',
-                                style : 'max-width: 260px;'
+                                style : 'max-width: ' + (this.width== '100%' ?  '260' : this.width ) +'px;'
                             }
                         ]
                     }