Roo/ContentPanel.js
[roojs1] / Roo / ContentPanel.js
index 29f2a68..1c15dc9 100644 (file)
@@ -64,6 +64,11 @@ Roo.ContentPanel = function(el, config, content){
                         {tag: "div", cls: "x-layout-inactive-content", id: config.id||el}, true);
         }
     }
+    if(this.style){
+        this.el.applyStyles(this.style);
+        delete this.style;
+    }
+    
     this.closable = false;
     this.loaded = false;
     this.active = false;