Roo/ContentPanel.js
authorAlan Knowles <alan@roojs.com>
Fri, 18 Dec 2020 03:34:45 +0000 (11:34 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 18 Dec 2020 03:34:45 +0000 (11:34 +0800)
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;