Roo/bootstrap/Menu.js
authorjohn <john@roojs.com>
Fri, 10 Aug 2018 04:26:00 +0000 (12:26 +0800)
committerjohn <john@roojs.com>
Fri, 10 Aug 2018 04:26:00 +0000 (12:26 +0800)
Roo/bootstrap/Menu.js

index da128e5..e8f9632 100644 (file)
@@ -286,6 +286,8 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
             xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
         }
         
+        xy[0] = xy[0] - 5;
+        
         if(this.el.getStyle('top') != 'auto' && this.el.getStyle('top').slice(-1) != "%"){
             this.el.setXY(xy);
         }