Roo/bootstrap/Button.js
[roojs1] / Roo / bootstrap / Button.js
index dc1b31f..083c414 100644 (file)
@@ -182,7 +182,9 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             
             delete cfg.html;
             
-        } 
+        }
+        
+       cfg.cls = this.parentType === 'Navbar' ?  ' navbar-btn' : '';
         
         if (this.glyphicon) {
             cfg.html = ' ' + cfg.html;