Roo/Template.js
[roojs1] / roojs-debug.js
index 42672bd..a6e3d50 100644 (file)
@@ -7373,10 +7373,17 @@ if(opt.anim.isAnimated()){
          */
         setStyle : function(prop, value){
             if(typeof prop == "string"){
+                
+                if (prop == 'float') {
+                    this.setStyle(Roo.isIE ? 'styleFloat'  : 'cssFloat', value);
+                    return this;
+                }
+                
                 var camel;
                 if(!(camel = propCache[prop])){
                     camel = propCache[prop] = prop.replace(camelRe, camelFn);
                 }
+                
                 if(camel == 'opacity') {
                     this.setOpacity(value);
                 }else{
@@ -44705,7 +44712,9 @@ layout.addxtype({
             // views..
             cfg.el = this.el;
             // factory?
-            return new Roo[cfg.xtype](cfg);
+            var ret = new Roo[cfg.xtype](cfg);
+            ret.render(false, ''); // render blank..
+            return ret;
             
         }
         return false;