Roo/Template.js
[roojs1] / Roo / TabPanel.js
index a7e9ea0..8bb7aee 100644 (file)
@@ -109,8 +109,13 @@ Roo.TabPanel = function(container, config){
     // toolbar on the tabbar support...
     if (this.toolbar) {
         var tcfg = this.toolbar;
-        tcfg.container = this.stripEl.child('td.x-tab-strip-toolbar'); //createChild(  { tag: 'td', style: 'width:100%;'  });
+        tcfg.container = this.stripEl.child('td.x-tab-strip-toolbar');  
         this.toolbar = new Roo.Toolbar(tcfg);
+        if (Roo.isSafari) {
+            var tbl = tcfg.container.child('table', true);
+            tbl.setAttribute('width', '100%');
+        }
+        
     }